Pagini recente » Borderou de evaluare (job #1401729) | Borderou de evaluare (job #1690347) | Borderou de evaluare (job #448139) | Borderou de evaluare (job #916185) | Borderou de evaluare (job #1483682)
Borderou de evaluare (job #1483682)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:44:29: 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:47:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i].s);
^
user.cpp: In function ‘void write()’:
user.cpp:80:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:83:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:87:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q[i]);
^
/tmp/ccqzL5XE.o: In function `read()':
user.cpp:(.text+0x624): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 232ms | 540kb | OK | 5 |
| 2 | 224ms | 540kb | OK | 5 |
| 3 | 20ms | 780kb | OK | 5 |
| 4 | 20ms | 784kb | OK | 5 |
| 5 | 20ms | 780kb | OK | 5 |
| 6 | 24ms | 780kb | OK | 5 |
| 7 | 192ms | 776kb | OK | 5 |
| 8 | 192ms | 780kb | OK | 5 |
| 9 | 192ms | 780kb | OK | 5 |
| 10 | 220ms | 532kb | OK | 5 |
| 11 | 228ms | 536kb | OK | 5 |
| 12 | 224ms | 536kb | OK | 5 |
| 13 | 16ms | 464kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 212ms | 540kb | OK | 5 |
| 15 | 16ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 12ms | 12152kb | Incorect | 0 |
| 17 | 12ms | 12148kb | Incorect | 0 |
| 18 | 12ms | 12152kb | Incorect | 0 |
| 19 | 12ms | 12152kb | Incorect | 0 |
| 20 | 12ms | 12148kb | Incorect | 0 |
| Punctaj total | 65 |