Pagini recente » Borderou de evaluare (job #3144922) | Borderou de evaluare (job #277206) | Borderou de evaluare (job #505704) | Borderou de evaluare (job #839855) | Borderou de evaluare (job #1880978)
Borderou de evaluare (job #1880978)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22: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:23: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:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:27:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:28:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv);
^
user.cpp:34:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
/tmp/ccAbAHVu.o: In function `main':
user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 5 |
| 2 | 0ms | 276kb | OK | 5 |
| 3 | 0ms | 280kb | OK | 5 |
| 4 | 0ms | 276kb | OK | 5 |
| 5 | 0ms | 264kb | Incorect | 0 |
| 6 | 0ms | 260kb | Incorect | 0 |
| 7 | 0ms | 264kb | Incorect | 0 |
| 8 | 0ms | 268kb | Incorect | 0 |
| 9 | 0ms | 268kb | Incorect | 0 |
| 10 | 0ms | 264kb | Incorect | 0 |
| 11 | 0ms | 260kb | Incorect | 0 |
| 12 | 0ms | 260kb | Incorect | 0 |
| 13 | 0ms | 260kb | Incorect | 0 |
| 14 | 0ms | 264kb | Incorect | 0 |
| 15 | 0ms | 264kb | Incorect | 0 |
| 16 | 0ms | 268kb | Incorect | 0 |
| 17 | 0ms | 264kb | Incorect | 0 |
| 18 | 0ms | 264kb | Incorect | 0 |
| 19 | 0ms | 268kb | Incorect | 0 |
| 20 | 0ms | 260kb | Incorect | 0 |
| Punctaj total | 20 |