Pagini recente » Borderou de evaluare (job #159604) | Cod sursa (job #828126) | Borderou de evaluare (job #178989) | Borderou de evaluare (job #198656) | Borderou de evaluare (job #1853545)
Borderou de evaluare (job #1853545)
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/ccg4PFNx.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 | 14284kb | OK | 5 |
| 2 | 32ms | 14292kb | OK | 5 |
| 3 | 32ms | 14332kb | OK | 5 |
| 4 | 32ms | 14312kb | OK | 5 |
| 5 | 32ms | 14356kb | OK | 5 |
| 6 | 32ms | 14344kb | OK | 5 |
| 7 | 40ms | 15504kb | OK | 5 |
| 8 | 40ms | 15624kb | OK | 5 |
| 9 | 44ms | 15772kb | OK | 5 |
| 10 | 44ms | 15872kb | OK | 5 |
| 11 | 44ms | 15996kb | OK | 5 |
| 12 | 44ms | 16108kb | OK | 5 |
| 13 | 64ms | 19140kb | OK | 5 |
| 14 | 56ms | 17680kb | OK | 5 |
| 15 | 60ms | 18068kb | OK | 5 |
| 16 | 64ms | 19088kb | OK | 5 |
| 17 | 188ms | 38576kb | OK | 5 |
| 18 | 136ms | 34176kb | Incorect | 0 |
| 19 | 184ms | 38568kb | OK | 5 |
| 20 | 160ms | 38552kb | Incorect | 0 |
| Punctaj total | 90 |