Pagini recente » Borderou de evaluare (job #1541174) | Borderou de evaluare (job #577275) | Borderou de evaluare (job #812504) | Borderou de evaluare (job #695274) | Borderou de evaluare (job #1614778)
Borderou de evaluare (job #1614778)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &n, &k);
^
user.cpp:29:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &b[i], &a[i]);
^
user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.in", "rt", stdin);
^
user.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.out", "wt", stdout);
^
user.cpp:29:26: 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:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &b[i], &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 12ms | 504kb | OK | 10 |
4 | 48ms | 1208kb | OK | 10 |
5 | 64ms | 1528kb | OK | 10 |
6 | 88ms | 1836kb | OK | 10 |
7 | 312ms | 3392kb | OK | 10 |
8 | 324ms | 3392kb | OK | 10 |
9 | 352ms | 3388kb | OK | 10 |
10 | 376ms | 3388kb | OK | 10 |
Punctaj total | 100 |