Pagini recente » Borderou de evaluare (job #1091034) | Borderou de evaluare (job #1930812) | Borderou de evaluare (job #1575307) | Borderou de evaluare (job #550686) | Borderou de evaluare (job #1241170)
Borderou de evaluare (job #1241170)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:44: warning: NULL used in arithmetic [-Wpointer-arith]
while(ln[k] != ' ' && ln[k] != NULL) {
^
user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mexc.in", "r", stdin);
^
user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mexc.out", "w", stdout);
^
user.cpp:75:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &n, &m, &d);
^
user.cpp:79:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ln);
^
/tmp/cc1Ioxuw.o: In function `main':
user.cpp:(.text.startup+0xaa): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1540kb | OK | 10 |
2 | 4ms | 1892kb | OK | 10 |
3 | 8ms | 2192kb | OK | 10 |
4 | 12ms | 2476kb | OK | 10 |
5 | 40ms | 4716kb | OK | 10 |
6 | 148ms | 9144kb | OK | 10 |
7 | 248ms | 12416kb | OK | 10 |
8 | 192ms | 12448kb | OK | 10 |
9 | 264ms | 15064kb | OK | 10 |
10 | 340ms | 18760kb | OK | 10 |
Punctaj total | 100 |