Pagini recente » Borderou de evaluare (job #968464) | Borderou de evaluare (job #1593276) | Borderou de evaluare (job #716108) | Borderou de evaluare (job #277836) | Borderou de evaluare (job #2486592)
Borderou de evaluare (job #2486592)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:100:17: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while (x[nr1]&1==0 && y[nr2]&1==0)
~^~~
main.cpp:100:32: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
while (x[nr1]&1==0 && y[nr2]&1==0)
~^~~
main.cpp:72:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d\n",&n1,&n2);
^
main.cpp:73:21: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(a, 4100, fin);
^
main.cpp:74:21: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(b, 4100, fin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:73:21:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:74:21:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
11 | 2ms | 131kb | Incorect | 0 |
12 | 2ms | 131kb | Incorect | 0 |
13 | 3ms | 131kb | OK | 5 |
14 | 2ms | 131kb | OK | 5 |
15 | 3ms | 131kb | OK | 5 |
16 | 2ms | 131kb | Incorect | 0 |
17 | 51ms | 131kb | OK | 5 |
18 | 3ms | 131kb | Incorect | 0 |
19 | 2ms | 131kb | Incorect | 0 |
20 | 4ms | 131kb | OK | 5 |
Punctaj total | 35 |