Pagini recente » Borderou de evaluare (job #349672) | Borderou de evaluare (job #1587611) | Borderou de evaluare (job #103576) | Borderou de evaluare (job #389003) | Borderou de evaluare (job #1711825)
Borderou de evaluare (job #1711825)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.in", "r", stdin);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("redu.out", "w", stdout);
^
user.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:29:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:32:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i][j]);
^
/tmp/cczLdTd1.o: In function `main':
user.cpp:(.text.startup+0x6c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 268kb | Incorect | 0 |
6 | 8ms | 264kb | Incorect | 0 |
7 | 8ms | 272kb | Incorect | 0 |
8 | 8ms | 268kb | Incorect | 0 |
9 | 8ms | 272kb | Incorect | 0 |
10 | 8ms | 264kb | Incorect | 0 |
Punctaj total | 10 |