Pagini recente » Borderou de evaluare (job #690112) | Borderou de evaluare (job #1038707) | Borderou de evaluare (job #2099935) | Borderou de evaluare (job #2727371) | Borderou de evaluare (job #2597435)
Borderou de evaluare (job #2597435)
Raport evaluator
Compilare:
main.cpp: In function 'void read(int&)':
main.cpp:13:23: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
while(inBuffer[p] < 0x30 | inBuffer[p] > 0x39)
~~~~~~~~~~~~^~~~~~
main.cpp:18:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while(inBuffer[p] > 0x2F & inBuffer[p] < 0x3A)
~~~~~~~~~~~~^~~~~~
main.cpp: At global scope:
main.cpp:7:37: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) void read(int &num)
^~~~
main.cpp: In function 'void read(int&)':
main.cpp:15:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:22:24: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
++p != 0x30D40 || (fread(inBuffer, 0x1, 0x30D40, stdin), p = 0x0);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:53:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutariab.in", "r", stdin);
^
main.cpp:54:48: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutariab.out", "w", stdout);
^
main.cpp:68:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 401ms | 131kb | Time limit exceeded | 0 |
2 | 401ms | 131kb | Time limit exceeded | 0 |
3 | 401ms | 131kb | Time limit exceeded | 0 |
4 | 401ms | 131kb | Time limit exceeded | 0 |
5 | 401ms | 131kb | Time limit exceeded | 0 |
6 | 400ms | 131kb | Time limit exceeded | 0 |
7 | 400ms | 131kb | Time limit exceeded | 0 |
8 | 47ms | 1179kb | Incorect | 0 |
9 | 59ms | 1179kb | Incorect | 0 |
10 | 403ms | 917kb | Time limit exceeded | 0 |
Punctaj total | 0 |