Pagini recente » Borderou de evaluare (job #146458) | Borderou de evaluare (job #1393650) | Borderou de evaluare (job #1357285) | Borderou de evaluare (job #764640) | Borderou de evaluare (job #1334427)
Borderou de evaluare (job #1334427)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:27: warning: unused variable ‘ture’ [-Wunused-variable]
long long p, u, mij, ras, ture;
^
user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sirag.in", "r", stdin);
^
user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("sirag.out", "w", stdout);
^
user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &N, &K);
^
user.cpp:32:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i]), S += a[i];
^
user.cpp:19:26: warning: ‘ras’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (tot < 1LL * ture * K)
^
user.cpp:34:22: note: ‘ras’ was declared here
long long p, u, mij, ras, ture;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 20 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 | 10 |
4 | 0ms | 296kb | OK | 10 | 10 |
5 | 0ms | 296kb | OK | 10 | 10 |
6 | 24ms | 640kb | OK | 10 | 10 |
7 | 28ms | 640kb | OK | 10 | 10 |
8 | 24ms | 644kb | OK | 10 | 10 |
9 | 4ms | 332kb | OK | 10 | 10 |
10 | 28ms | 640kb | OK | 10 | 10 |
Punctaj total | 100 |