Pagini recente » Borderou de evaluare (job #2406174) | Borderou de evaluare (job #2336195) | Borderou de evaluare (job #491223) | Borderou de evaluare (job #2365571) | Borderou de evaluare (job #1356267)
Borderou de evaluare (job #1356267)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i", &n);
^
user.cpp:37:30: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i %i", &a, &b);
^
user.cpp:37:30: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.in", "r", stdin);
^
user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out", "w", stdout);
^
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
user.cpp:37:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Ok! | 10 |
2 | 476ms | 8660kb | Wrong answer! | 0 |
3 | 0ms | 560kb | Wrong answer! | 0 |
4 | 368ms | 8660kb | Wrong answer! | 0 |
5 | 0ms | 568kb | Wrong answer! | 0 |
6 | 4ms | 784kb | Wrong answer! | 0 |
7 | 492ms | 8660kb | Wrong answer! | 0 |
8 | 96ms | 2368kb | Wrong answer! | 0 |
9 | 396ms | 8664kb | Wrong answer! | 0 |
10 | 364ms | 8664kb | Wrong answer! | 0 |
Punctaj total | 10 |