Borderou de evaluare (job #1662110)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:9: warning: unused variable ‘j’ [-Wunused-variable]
int j, i = n + 1, t = 0;
^
user.cpp:19:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:20:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 1000005, f);
^
user.cpp:21:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, 1000005, f);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/ext/string_conversions.h:43,
from /usr/include/c++/4.8/bits/basic_string.h:2815,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:21:29:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Doar numarul e corect! | 5 |
2 | 0ms | 444kb | Raspuns gresit! | 0 |
3 | 0ms | 456kb | Raspuns gresit! | 0 |
4 | 232ms | 3160kb | Raspuns gresit! | 0 |
5 | 320ms | 4020kb | Raspuns gresit! | 0 |
6 | Depăşit | 7432kb | Time limit exceeded. | 0 |
7 | Depăşit | 7428kb | Time limit exceeded. | 0 |
8 | Depăşit | 9184kb | Time limit exceeded. | 0 |
9 | 392ms | 8364kb | Raspuns gresit! | 0 |
10 | 0ms | 440kb | Doar numarul e corect! | 5 |
Punctaj total | 10 |