Pagini recente » Borderou de evaluare (job #1646393) | Borderou de evaluare (job #724370) | Borderou de evaluare (job #2911843) | Borderou de evaluare (job #50457) | Borderou de evaluare (job #2174591)
Borderou de evaluare (job #2174591)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:82:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:86:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &a, &b);
^
user.cpp:86:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:88:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", a-subsir());
^
user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.in", "r", stdin);
^
user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pinex.out", "w", stdout);
^
user.cpp:82:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:86:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 180ms | 11368kb | OK | 10 | 10 |
2 | 172ms | 11360kb | OK | 10 | 10 |
3 | 172ms | 11280kb | OK | 10 | 10 |
4 | 196ms | 11364kb | OK | 10 | 10 |
5 | 208ms | 11360kb | OK | 10 | 10 |
6 | 208ms | 11356kb | OK | 10 | 10 |
7 | 196ms | 11292kb | OK | 10 | 10 |
8 | 268ms | 11396kb | Incorect | 0 | 0 |
9 | 264ms | 11380kb | Incorect | 0 |
10 | 264ms | 11352kb | Incorect | 0 |
Punctaj total | 70 |