Borderou de evaluare (job #514899)

Utilizator avatar brji Brancusa Jianu brji IP ascuns
Problemă Nrtri2 (clasele 7/8) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 21 dec. 2019 22:33:12 Scor 84

Raport evaluator

Compilare: main.cpp: In function 'void read(int&)': main.cpp:17:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 17 | while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39) | ~~~~~~~~~~~~^~~~~~ main.cpp:19:68: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 19 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp:22:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 22 | while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A) | ~~~~~~~~~~~~^~~~~~ main.cpp:26:68: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 26 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~^~~~~ main.cpp: At global scope: main.cpp:32:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 32 | __attribute__((always_inline)) void write(unsigned int x) | ^~~~~ main.cpp:11:37: warning: 'always_inline' function might not be inlinable [-Wattributes] 11 | __attribute__((always_inline)) void read(int &num) | ^~~~ main.cpp: In function 'void read(int&)': main.cpp:19:33: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:33: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | ++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:56:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | freopen("nrtri2.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 503 kb OK 4
2 1 ms 503 kb OK 4
3 1 ms 503 kb OK 4
4 1 ms 507 kb OK 4
5 1 ms 507 kb OK 4
6 1 ms 503 kb OK 4
7 1 ms 503 kb OK 4
8 1 ms 512 kb OK 4
9 9 ms 507 kb OK 4
10 9 ms 770 kb OK 4
11 1 ms 503 kb OK 4
12 29 ms 507 kb OK 4
13 1 ms 512 kb OK 4
14 69 ms 770 kb OK 4
15 1 ms 507 kb OK 4
16 113 ms 1032 kb OK 4
17 1 ms 512 kb OK 4
18 149 ms 770 kb Time limit exceeded 0
19 1 ms 512 kb OK 4
20 149 ms 774 kb Time limit exceeded 0
21 129 ms 507 kb Incorect 0
22 99 ms 774 kb OK 4
23 149 ms 770 kb Time limit exceeded 0
24 99 ms 770 kb OK 4
25 1 ms 770 kb OK 4
Punctaj total 84