Borderou de evaluare (job #1790425)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:25:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[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:25:23:
/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/ccxptJMF.o: In function `read()':
user.cpp:(.text+0x75): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 24ms | 3576kb | OK! | 10 | 32 |
2 | 36ms | 3928kb | OK! | 10 |
3 | 28ms | 3716kb | OK! | 12 |
4 | 856ms | 18444kb | OK! | 7 | 14 |
5 | 604ms | 18452kb | OK! | 7 |
6 | 688ms | 18252kb | OK! | 13 | 51 |
7 | 8ms | 1912kb | OK! | 13 |
8 | 700ms | 17840kb | OK! | 13 |
9 | 572ms | 18464kb | OK! | 10 |
10 | 736ms | 18448kb | OK! | 2 |
11 | 580ms | 18436kb | OK! | 3 | 3 |
Punctaj total | 100 |