Pagini recente » Borderou de evaluare (job #1855436) | Borderou de evaluare (job #2162287) | Borderou de evaluare (job #2564679) | Borderou de evaluare (job #1566017) | Borderou de evaluare (job #1392248)
Borderou de evaluare (job #1392248)
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/ccamNlpB.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 | 288kb | Incorect | 0 |
2 | 4ms | 420kb | Incorect | 0 |
3 | 24ms | 920kb | Incorect | 0 |
4 | 28ms | 1016kb | Incorect | 0 |
5 | 36ms | 1256kb | Incorect | 0 |
6 | 44ms | 1448kb | Incorect | 0 |
7 | 76ms | 2236kb | Incorect | 0 |
8 | Depăşit | 3212kb | Time limit exceeded. | 0 |
9 | Depăşit | 4196kb | Time limit exceeded. | 0 |
10 | Depăşit | 5164kb | Time limit exceeded. | 0 |
Punctaj total | 0 |