Pagini recente » Rezultatele filtrării | Borderou de evaluare (job #2633360) | Rezultatele filtrării | Borderou de evaluare (job #2881108) | Borderou de evaluare (job #2563648)
Borderou de evaluare (job #2563648)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&t);
^
main.cpp:31:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d\n",&k);
^
main.cpp:32:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(a + 1,NMAX + 5,f);len_a = strlen(a + 1);len_a -= (a[len_a] == '\n');
^
main.cpp:33:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(b + 1,NMAX + 5,f);len_b = strlen(b + 1);len_b -= (b[len_b] == '\n');
^
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:32:32:
/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:33:32:
/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 | 262kb | OK | 10 |
2 | 3ms | 524kb | OK | 10 |
3 | 12ms | 1179kb | OK | 10 |
4 | 37ms | 2228kb | OK | 10 |
5 | 75ms | 3276kb | OK | 10 |
6 | 85ms | 3538kb | OK | 10 |
7 | 100ms | 3932kb | Time limit exceeded | 0 |
8 | 101ms | 4325kb | Time limit exceeded | 0 |
9 | 100ms | 4325kb | Time limit exceeded | 0 |
10 | 101ms | 4325kb | Time limit exceeded | 0 |
Punctaj total | 60 |