Pagini recente » Borderou de evaluare (job #847630) | Borderou de evaluare (job #2694894) | Borderou de evaluare (job #1046678) | Borderou de evaluare (job #893956) | Borderou de evaluare (job #1370583)
Borderou de evaluare (job #1370583)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int)’:
user.cpp:15:7: warning: variable ‘minus’ set but not used [-Wunused-but-set-variable]
bool minus = 0;
^
user.cpp:17:9: 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:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
/tmp/ccMTKp1N.o: In function `read(int)':
user.cpp:(.text+0x14): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Incorect | 0 |
2 | 0ms | 424kb | Incorect | 0 |
3 | 4ms | 920kb | Incorect | 0 |
4 | 4ms | 1016kb | Incorect | 0 |
5 | 8ms | 1256kb | Incorect | 0 |
6 | 8ms | 1452kb | Incorect | 0 |
7 | 16ms | 2236kb | Incorect | 0 |
8 | 24ms | 3216kb | Incorect | 0 |
9 | 32ms | 4200kb | Incorect | 0 |
10 | 40ms | 5172kb | Incorect | 0 |
Punctaj total | 0 |