Pagini recente » Cod sursa (job #237707) | Cod sursa (job #568433) | Cod sursa (job #3210967) | Cod sursa (job #46108) | Borderou de evaluare (job #1536687)
Borderou de evaluare (job #1536687)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d", v[i]);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in", "r", stdin);
^
user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out", "w", stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |