Pagini recente » Borderou de evaluare (job #1495450) | Borderou de evaluare (job #2849854) | Borderou de evaluare (job #2145214) | Borderou de evaluare (job #2577560) | Borderou de evaluare (job #1790416)
Borderou de evaluare (job #1790416)
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/ccx7yU18.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 | Incorect! | 0 | 0 |
2 | 28ms | 3924kb | Incorect! | 0 |
3 | 24ms | 3712kb | Incorect! | 0 |
4 | 588ms | 18448kb | OK! | 7 | 14 |
5 | 616ms | 18452kb | OK! | 7 |
6 | 640ms | 18248kb | Incorect! | 0 | 0 |
7 | 8ms | 1912kb | Incorect! | 0 |
8 | 636ms | 17840kb | Incorect! | 0 |
9 | 544ms | 18464kb | Incorect! | 0 |
10 | 688ms | 18452kb | Incorect! | 0 |
11 | 540ms | 18432kb | Incorect! | 0 | 0 |
Punctaj total | 14 |