Pagini recente » Borderou de evaluare (job #2358066) | Borderou de evaluare (job #3138832) | Borderou de evaluare (job #1451158) | Borderou de evaluare (job #1074842) | Borderou de evaluare (job #1814110)
Borderou de evaluare (job #1814110)
Raport evaluator
Compilare:
user.cpp: In function ‘void ReadVariables()’:
user.cpp:32:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:36:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), L = strlen (sir + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:146:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.in", "r", stdin);
^
user.cpp:147:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.out", "w", stdout);
^
user.cpp:151:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/cctFWBXt.o: In function `ReadVariables()':
user.cpp:(.text+0x129): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 484kb | OK | 10 |
2 | 68ms | 488kb | OK | 10 |
3 | 68ms | 496kb | OK | 10 |
4 | 272ms | 1864kb | OK | 10 |
5 | 196ms | 560kb | OK | 10 |
6 | 176ms | 524kb | OK | 10 |
7 | 208ms | 536kb | OK | 10 |
8 | 376ms | 616kb | OK | 10 |
9 | 348ms | 620kb | OK | 10 |
10 | 380ms | 616kb | OK | 10 |
Punctaj total | 100 |