Pagini recente » Cod sursa (job #2853280) | Istoria paginii runda/rand | Monitorul de evaluare | Rezultatele filtrării | Borderou de evaluare (job #2563641)
Borderou de evaluare (job #2563641)
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 | Incorect | 0 |
2 | 4ms | 524kb | Incorect | 0 |
3 | 12ms | 1179kb | Incorect | 0 |
4 | 36ms | 2228kb | Incorect | 0 |
5 | 75ms | 3276kb | Incorect | 0 |
6 | 89ms | 3538kb | Incorect | 0 |
7 | 100ms | 4063kb | Time limit exceeded | 0 |
8 | 100ms | 4325kb | Time limit exceeded | 0 |
9 | 101ms | 4456kb | Time limit exceeded | 0 |
10 | 102ms | 4325kb | Time limit exceeded | 0 |
Punctaj total | 0 |