Pagini recente » Borderou de evaluare (job #1853540) | Borderou de evaluare (job #1481966) | Borderou de evaluare (job #171471) | Borderou de evaluare (job #830432) | Borderou de evaluare (job #1853541)
Borderou de evaluare (job #1853541)
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/ccPe4dY3.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 | 32ms | 14288kb | OK | 5 |
| 2 | 32ms | 14292kb | OK | 5 |
| 3 | 32ms | 14328kb | OK | 5 |
| 4 | 32ms | 14308kb | OK | 5 |
| 5 | 32ms | 14360kb | OK | 5 |
| 6 | 32ms | 14344kb | OK | 5 |
| 7 | 40ms | 15500kb | OK | 5 |
| 8 | 40ms | 15620kb | OK | 5 |
| 9 | 44ms | 15768kb | OK | 5 |
| 10 | 44ms | 15876kb | OK | 5 |
| 11 | 44ms | 15992kb | OK | 5 |
| 12 | 44ms | 16112kb | OK | 5 |
| 13 | 64ms | 19140kb | OK | 5 |
| 14 | 52ms | 17684kb | Incorect | 0 |
| 15 | 56ms | 18068kb | OK | 5 |
| 16 | 64ms | 19088kb | OK | 5 |
| 17 | 180ms | 38572kb | OK | 5 |
| 18 | 128ms | 34184kb | Incorect | 0 |
| 19 | 176ms | 38568kb | OK | 5 |
| 20 | 152ms | 38556kb | Incorect | 0 |
| Punctaj total | 85 |