Pagini recente » Borderou de evaluare (job #620822) | Borderou de evaluare (job #514937) | Borderou de evaluare (job #134960) | Borderou de evaluare (job #549970) | Borderou de evaluare (job #1356145)
Borderou de evaluare (job #1356145)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i", &n);
^
user.cpp:30: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:30:30: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:52:18: warning: statement has no effect [-Wunused-value]
X==1;
^
user.cpp:21: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:22: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:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
user.cpp:30: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 | 448kb | Ok! | 10 |
2 | Depăşit | 20756kb | Time limit exceeded. | 0 |
3 | 4ms | 700kb | Wrong answer! | 0 |
4 | Depăşit | 21268kb | Time limit exceeded. | 0 |
5 | 4ms | 704kb | Wrong answer! | 0 |
6 | 12ms | 1048kb | Wrong answer! | 0 |
7 | Depăşit | 20756kb | Time limit exceeded. | 0 |
8 | 292ms | 8216kb | Wrong answer! | 0 |
9 | Depăşit | 20764kb | Time limit exceeded. | 0 |
10 | Depăşit | 20916kb | Time limit exceeded. | 0 |
Punctaj total | 10 |