Pagini recente » Borderou de evaluare (job #449946) | Borderou de evaluare (job #1109486) | Borderou de evaluare (job #1033896) | Borderou de evaluare (job #407599) | Borderou de evaluare (job #1465167)
Borderou de evaluare (job #1465167)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("electrica.in", "r", stdin);
^
user.cpp:29:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("electrica.out", "w", stdout);
^
user.cpp:30:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &m, &l);
^
user.cpp:32: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 user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:32: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/ccWaHHlT.o: In function `read()':
user.cpp:(.text+0x145): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 292kb | Incorect | 0 | 0 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 508kb | OK | 10 | 10 |
4 | 0ms | 620kb | OK | 10 | 10 |
5 | 12ms | 1988kb | OK | 10 | 10 |
6 | 20ms | 2056kb | OK | 10 | 10 |
7 | 96ms | 5164kb | OK | 10 | 10 |
8 | 100ms | 5164kb | OK | 10 | 10 |
9 | 104ms | 5164kb | OK | 10 | 10 |
10 | 108ms | 5164kb | OK | 10 | 10 |
Punctaj total | 80 |