Pagini recente » Borderou de evaluare (job #1276423) | Borderou de evaluare (job #1775921) | Borderou de evaluare (job #959655) | Borderou de evaluare (job #1814249) | Borderou de evaluare (job #1389692)
Borderou de evaluare (job #1389692)
Raport evaluator
Compilare:
user.cpp: In function ‘void cit()’:
user.cpp:18:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[i]!=NULL){
^
user.cpp:17: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:36:38: 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:37:40: 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:40: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/cccIQXZX.o: In function `cit()':
user.cpp:(.text+0x16): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 4ms | 916kb | OK | 10 |
4 | 4ms | 1008kb | OK | 10 |
5 | 8ms | 1256kb | OK | 10 |
6 | 8ms | 1444kb | OK | 10 |
7 | 16ms | 2228kb | OK | 10 |
8 | 24ms | 3208kb | OK | 10 |
9 | 32ms | 4196kb | OK | 10 |
10 | 40ms | 5168kb | OK | 10 |
Punctaj total | 100 |