Pagini recente » Borderou de evaluare (job #2987857) | Borderou de evaluare (job #639889) | Borderou de evaluare (job #2745653) | Borderou de evaluare (job #1563331) | Borderou de evaluare (job #1419563)
Borderou de evaluare (job #1419563)
Raport evaluator
Compilare:
user.cpp: In function ‘punct get()’:
user.cpp:33:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[j]!=NULL){
^
user.cpp:23: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:71:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ograzi.in","r",stdin);
^
user.cpp:72:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ograzi.out","w",stdout);
^
user.cpp:76:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d\n",&n,&m,&w,&h);
^
/tmp/cchpPyiQ.o: In function `get()':
user.cpp:(.text+0x19): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 48ms | 1692kb | OK | 10 |
3 | 16ms | 1824kb | OK | 10 |
4 | 48ms | 1248kb | OK | 10 |
5 | 44ms | 1824kb | OK | 10 |
6 | 52ms | 1816kb | OK | 10 |
7 | 40ms | 1596kb | OK | 10 |
8 | 12ms | 1592kb | OK | 10 |
9 | 0ms | 300kb | OK | 10 |
10 | 24ms | 264kb | OK | 10 |
Punctaj total | 100 |