Pagini recente » Borderou de evaluare (job #1853549) | Borderou de evaluare (job #868958) | Borderou de evaluare (job #163793) | Borderou de evaluare (job #1853548)
Borderou de evaluare (job #1853548)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:22:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:22:25:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccwAsfRF.o: In function `read()':
user.cpp:(.text+0x3d): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 64ms | 28116kb | OK | 5 |
| 2 | 64ms | 28124kb | OK | 5 |
| 3 | 64ms | 28160kb | OK | 5 |
| 4 | 64ms | 28140kb | OK | 5 |
| 5 | 64ms | 28184kb | OK | 5 |
| 6 | 64ms | 28172kb | OK | 5 |
| 7 | 72ms | 29336kb | OK | 5 |
| 8 | 76ms | 29452kb | OK | 5 |
| 9 | 76ms | 29596kb | OK | 5 |
| 10 | 76ms | 29708kb | OK | 5 |
| 11 | 76ms | 29820kb | OK | 5 |
| 12 | 76ms | 29936kb | OK | 5 |
| 13 | 96ms | 32972kb | OK | 5 |
| 14 | 88ms | 31512kb | OK | 5 |
| 15 | 92ms | 31900kb | Incorect | 0 |
| 16 | 96ms | 32916kb | OK | 5 |
| 17 | 228ms | 52400kb | OK | 5 |
| 18 | 172ms | 48008kb | Incorect | 0 |
| 19 | 224ms | 52388kb | OK | 5 |
| 20 | 220ms | 52384kb | Incorect | 0 |
| Punctaj total | 85 |