Pagini recente » Cod sursa (job #1908531) | Borderou de evaluare (job #2194106) | Borderou de evaluare (job #1750401) | Borderou de evaluare (job #2637359) | Borderou de evaluare (job #2363942)
Borderou de evaluare (job #2363942)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:41: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d", &n, &m, &s, &f);
^
main.cpp:23:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &cost[i]);
^
main.cpp:25:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &x[i], &y[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 5ms | 786kb | OK | 10 |
| 5 | 5ms | 786kb | OK | 10 |
| 6 | 5ms | 917kb | OK | 10 |
| 7 | 5ms | 917kb | OK | 10 |
| 8 | 43ms | 7733kb | OK | 10 |
| 9 | 70ms | 9306kb | OK | 10 |
| 10 | 45ms | 8781kb | OK | 10 |
| Punctaj total | 100 |