Pagini recente » Borderou de evaluare (job #77124) | Borderou de evaluare (job #2201099) | Borderou de evaluare (job #699883) | Borderou de evaluare (job #415306) | Borderou de evaluare (job #1317023)
Borderou de evaluare (job #1317023)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nums.in", "r", stdin);
^
user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nums.out", "w", stdout);
^
user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &tip);
^
user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &x);
^
user.cpp:52:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (actual + 1);
^
user.cpp:66:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nums.in", "r", stdin);
^
user.cpp:67:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &tip);
^
user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &x);
^
user.cpp:83:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (actual + 1);
^
/tmp/ccTvqodU.o: In function `main':
user.cpp:(.text.startup+0xc7): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 260ms | 3244kb | OK | 5 |
| 2 | 292ms | 7804kb | OK | 5 |
| 3 | 0ms | 1108kb | OK | 5 |
| 4 | 256ms | 3252kb | OK | 5 |
| 5 | 12ms | 1604kb | OK | 5 |
| 6 | 248ms | 3260kb | OK | 5 |
| 7 | 112ms | 7288kb | OK | 5 |
| 8 | 160ms | 6224kb | OK | 5 |
| 9 | 392ms | 7712kb | OK | 5 |
| 10 | 396ms | 7668kb | OK | 5 |
| 11 | 292ms | 8296kb | OK | 5 |
| 12 | 348ms | 7900kb | OK | 5 |
| 13 | 356ms | 9588kb | OK | 5 |
| 14 | 244ms | 4132kb | OK | 5 |
| 15 | 308ms | 7352kb | OK | 5 |
| 16 | 312ms | 7356kb | OK | 5 |
| 17 | 276ms | 8092kb | OK | 5 |
| 18 | 340ms | 8012kb | OK | 5 |
| 19 | 412ms | 9480kb | OK | 5 |
| 20 | 392ms | 9468kb | OK | 5 |
| Punctaj total | 100 |