Pagini recente » Borderou de evaluare (job #1078364) | Borderou de evaluare (job #328060) | Borderou de evaluare (job #2215549) | Borderou de evaluare (job #617046) | Borderou de evaluare (job #1468690)
Borderou de evaluare (job #1468690)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int bs()’:
user.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:49:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &a[i].r, &a[i].a);
^
user.cpp:49:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.in", "r", stdin);
^
user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tarabe.out", "w", stdout);
^
user.cpp:47: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:49:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a[i].r, &a[i].a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 32ms | 512kb | OK | 10 |
4 | 128ms | 1216kb | OK | 10 |
5 | 168ms | 1524kb | OK | 10 |
6 | 212ms | 1840kb | OK | 10 |
7 | 460ms | 3400kb | OK | 10 |
8 | 460ms | 3404kb | OK | 10 |
9 | 460ms | 3400kb | OK | 10 |
10 | 460ms | 3396kb | OK | 10 |
Punctaj total | 100 |