Pagini recente » Borderou de evaluare (job #3225129) | Borderou de evaluare (job #1488753) | Borderou de evaluare (job #1695499) | Borderou de evaluare (job #1635730) | Borderou de evaluare (job #2454293)
Borderou de evaluare (job #2454293)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:46: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d", &len1, &len2, &K);
^
main.cpp:20:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s1 + 1, STR_MAX, fin);
^
main.cpp:21:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s2 + 1, STR_MAX, 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:20: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:21: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 | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 10ms | 131kb | OK | 10 |
8 | 20ms | 262kb | OK | 10 |
9 | 27ms | 262kb | OK | 10 |
10 | 18ms | 262kb | OK | 10 |
Punctaj total | 100 |