Pagini recente » Cod sursa (job #3188769) | Cod sursa (job #1834352) | Cod sursa (job #757065) | Cod sursa (job #1921829) | Borderou de evaluare (job #2431036)
Borderou de evaluare (job #2431036)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:48:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:49:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < n; ++i) scanf("%d", cost + i);
^
main.cpp:51:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int u, v; scanf("%d%d", &u, &v);
^
main.cpp: In function 'int main()':
main.cpp:66:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.in", "r", stdin);
^
main.cpp:67:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 2621kb | OK | 10 |
2 | 86ms | 36880kb | Memory limit exceeded | 0 |
3 | 7ms | 2621kb | OK | 10 |
4 | 110ms | 36880kb | Memory limit exceeded | 0 |
5 | 18ms | 3014kb | OK | 10 |
6 | 33ms | 3801kb | OK | 10 |
7 | 303ms | 31981kb | Time limit exceeded | 0 |
8 | 300ms | 20578kb | Time limit exceeded | 0 |
9 | 264ms | 11796kb | OK | 10 |
10 | 301ms | 7208kb | Time limit exceeded | 0 |
Punctaj total | 50 |