Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #2839070) | Borderou de evaluare (job #1084317) | Borderou de evaluare (job #949710) | Borderou de evaluare (job #1839165)
Borderou de evaluare (job #1839165)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("miting.in", "r", stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("miting.out", "w", stdout);
^
user.cpp:57:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:58:28: 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:59:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:65: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 ‘int main()’ at user.cpp:65: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/ccC1WEeB.o: In function `main':
user.cpp:(.text.startup+0xde): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 460kb | OK | 5 |
| 2 | 0ms | 460kb | OK | 5 |
| 3 | 0ms | 456kb | OK | 5 |
| 4 | 0ms | 460kb | OK | 5 |
| 5 | 0ms | 484kb | OK | 5 |
| 6 | 0ms | 584kb | OK | 5 |
| 7 | 4ms | 604kb | OK | 5 |
| 8 | 4ms | 604kb | OK | 5 |
| 9 | 0ms | 488kb | OK | 5 |
| 10 | 12ms | 804kb | OK | 5 |
| 11 | 0ms | 692kb | OK | 5 |
| 12 | 12ms | 756kb | OK | 5 |
| 13 | 0ms | 596kb | OK | 5 |
| 14 | 4ms | 744kb | OK | 5 |
| 15 | 0ms | 564kb | OK | 5 |
| 16 | 40ms | 1336kb | OK | 5 |
| 17 | 44ms | 1360kb | OK | 5 |
| 18 | 48ms | 1360kb | OK | 5 |
| 19 | 56ms | 1380kb | OK | 5 |
| 20 | 60ms | 1388kb | OK | 5 |
| Punctaj total | 100 |