Pagini recente » Cod sursa (job #1961114) | Cod sursa (job #351065) | Monitorul de evaluare | Cod sursa (job #974463) | Borderou de evaluare (job #1739021)
Borderou de evaluare (job #1739021)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:98:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("guvern.in", "r", stdin);
^
user.cpp:99:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("guvern.out", "w", stdout);
^
user.cpp:102:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:106:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
user.cpp:114:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", cost + i);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 4996kb | OK | 10 |
| 2 | 8ms | 5032kb | OK | 10 |
| 3 | 8ms | 5040kb | OK | 10 |
| 4 | 176ms | 10368kb | OK | 10 |
| 5 | 176ms | 9496kb | OK | 10 |
| 6 | 200ms | 10848kb | OK | 10 |
| 7 | 292ms | 12808kb | OK | 10 |
| 8 | 304ms | 12136kb | OK | 10 |
| 9 | 296ms | 13312kb | OK | 10 |
| 10 | 312ms | 12620kb | OK | 10 |
| Punctaj total | 100 |