Pagini recente » Borderou de evaluare (job #1243492) | Borderou de evaluare (job #633197) | Borderou de evaluare (job #828287) | Borderou de evaluare (job #1619951) | Borderou de evaluare (job #1392249)
Borderou de evaluare (job #1392249)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:20:20: warning: NULL used in arithmetic [-Wpointer-arith]
while( s[i] != NULL )
^
user.cpp:19:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.cpp:44:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n",&n,&k);
^
/tmp/ccrv5gBc.o: In function `read()':
user.cpp:(.text+0x1b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 8ms | 924kb | OK | 10 |
4 | 8ms | 1016kb | OK | 10 |
5 | 12ms | 1256kb | OK | 10 |
6 | 12ms | 1456kb | OK | 10 |
7 | 20ms | 2244kb | OK | 10 |
8 | 32ms | 3220kb | OK | 10 |
9 | 44ms | 4196kb | OK | 10 |
10 | 56ms | 5172kb | Incorect | 0 |
Punctaj total | 90 |