Pagini recente » Borderou de evaluare (job #2841539) | Borderou de evaluare (job #2288681) | Borderou de evaluare (job #1345515) | Borderou de evaluare (job #2664976) | Borderou de evaluare (job #1711840)
Borderou de evaluare (job #1711840)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18: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:19: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:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:22:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:25:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i][j]);
^
/tmp/cc6lOYOt.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 | 288kb | OK | 10 |
| 2 | 0ms | 304kb | Incorect | 0 |
| 3 | 0ms | 364kb | Incorect | 0 |
| 4 | 0ms | 464kb | Incorect | 0 |
| 5 | 0ms | 860kb | Incorect | 0 |
| 6 | 0ms | 1248kb | Incorect | 0 |
| 7 | 0ms | 1252kb | Incorect | 0 |
| 8 | 0ms | 1252kb | Incorect | 0 |
| 9 | 0ms | 1248kb | Incorect | 0 |
| 10 | 0ms | 1248kb | Incorect | 0 |
| Punctaj total | 10 |