Pagini recente » Borderou de evaluare (job #1533555) | Borderou de evaluare (job #1337757) | Borderou de evaluare (job #753619) | Borderou de evaluare (job #1444064) | Borderou de evaluare (job #1521743)
Borderou de evaluare (job #1521743)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 1; j < aux.size(); j++) def[j] = aux[j].second + def[j - 1];
^
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gold.in", "r", stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gold.out", "w", stdout);
^
user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &how[i]);
^
user.cpp:43:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d%d", &pX[i], &pY[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK | 10 |
2 | 4ms | 464kb | OK | 10 |
3 | 20ms | 472kb | OK | 10 |
4 | 32ms | 468kb | OK | 10 |
5 | 132ms | 480kb | OK | 10 |
6 | 264ms | 504kb | OK | 10 |
7 | 356ms | 504kb | OK | 10 |
8 | 452ms | 504kb | OK | 10 |
9 | 508ms | 504kb | OK | 10 |
10 | 564ms | 504kb | OK | 10 |
Punctaj total | 100 |