Pagini recente » Borderou de evaluare (job #2371760) | Borderou de evaluare (job #248417) | Cod sursa (job #2803246) | Borderou de evaluare (job #251133) | Borderou de evaluare (job #1905112)
Borderou de evaluare (job #1905112)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.in", "r", stdin);
^
user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out", "w", stdout);
^
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:18:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:20:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch);
^
/tmp/cct44iJY.o: In function `main':
user.cpp:(.text.startup+0x98): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | OK | 10 |
| 2 | 0ms | 332kb | OK | 10 |
| 3 | 0ms | 400kb | OK | 10 |
| 4 | 0ms | 552kb | OK | 10 |
| 5 | 8ms | 968kb | OK | 10 |
| 6 | 16ms | 1208kb | OK | 10 |
| 7 | 20ms | 1204kb | OK | 10 |
| 8 | 16ms | 1216kb | OK | 10 |
| 9 | 16ms | 1260kb | OK | 10 |
| 10 | 16ms | 1260kb | OK | 10 |
| Punctaj total | 100 |