Pagini recente » Borderou de evaluare (job #1548837) | Borderou de evaluare (job #1048855) | Borderou de evaluare (job #1251286) | Borderou de evaluare (job #1869548) | Borderou de evaluare (job #1712369)
Borderou de evaluare (job #1712369)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17: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:18: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:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:21:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:24:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i][j]);
^
/tmp/ccHeGuPb.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 | 292kb | Incorect | 0 |
2 | 0ms | 308kb | Incorect | 0 |
3 | 0ms | 364kb | Incorect | 0 |
4 | 0ms | 468kb | Incorect | 0 |
5 | 16ms | 868kb | Incorect | 0 |
6 | 88ms | 1252kb | Incorect | 0 |
7 | 92ms | 1248kb | Incorect | 0 |
8 | 92ms | 1248kb | Incorect | 0 |
9 | 88ms | 1256kb | Incorect | 0 |
10 | 88ms | 1252kb | Incorect | 0 |
Punctaj total | 0 |