Pagini recente » Borderou de evaluare (job #1523068) | Borderou de evaluare (job #689650) | calc | Borderou de evaluare (job #1933405) | Borderou de evaluare (job #1933402)
Borderou de evaluare (job #1933402)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k + 1 < v[i].size(); k += 2)
^
user.cpp:38:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < v[i].size(); ++k) printf("%d 1\n", v[i][k].poz);
^
user.cpp:13:12: warning: unused variable ‘k’ [-Wunused-variable]
int n, k, nr, ans = 0, cnt = 0, t; om aux;
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("wall.in", "r", stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("wall.out", "w", stdout);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &nr, &n);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1436kb | OK | 10 |
| 2 | 0ms | 1436kb | OK | 10 |
| 3 | 0ms | 1436kb | OK | 10 |
| 4 | 4ms | 1448kb | OK | 10 |
| 5 | 4ms | 1464kb | OK | 10 |
| 6 | 4ms | 1496kb | OK | 10 |
| 7 | 8ms | 1560kb | OK | 10 |
| 8 | 40ms | 2076kb | OK | 10 |
| 9 | 56ms | 2356kb | OK | 10 |
| 10 | 84ms | 2732kb | OK | 10 |
| Punctaj total | 100 |