Pagini recente » Borderou de evaluare (job #3151471) | Borderou de evaluare (job #3004836) | Borderou de evaluare (job #3177578) | Borderou de evaluare (job #2602849) | Borderou de evaluare (job #1767659)
Borderou de evaluare (job #1767659)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:23:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[poz].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:32:15: warning: unused variable ‘x’ [-Wunused-variable]
int n, k, x, poz, ans;
^
user.cpp:32:18: warning: unused variable ‘poz’ [-Wunused-variable]
int n, k, x, poz, ans;
^
user.cpp:32:23: warning: unused variable ‘ans’ [-Wunused-variable]
int n, k, x, poz, ans;
^
user.cpp:34:10: warning: unused variable ‘m’ [-Wunused-variable]
suma m;
^
user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.in", "r", stdin);
^
user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.out", "w", stdout);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 404kb | OK | 10 |
| 2 | 4ms | 576kb | OK | 10 |
| 3 | 4ms | 716kb | OK | 10 |
| 4 | 8ms | 800kb | OK | 10 |
| 5 | 12ms | 1056kb | OK | 10 |
| 6 | 24ms | 1724kb | OK | 10 |
| 7 | 32ms | 2432kb | OK | 10 |
| 8 | 28ms | 2464kb | OK | 10 |
| 9 | 48ms | 3428kb | OK | 10 |
| 10 | 36ms | 3068kb | OK | 10 |
| Punctaj total | 100 |