Pagini recente » Borderou de evaluare (job #718241) | Borderou de evaluare (job #47973) | Borderou de evaluare (job #346609) | Borderou de evaluare (job #369684) | Borderou de evaluare (job #2602686)
Borderou de evaluare (job #2602686)
Raport evaluator
Compilare:
main.cpp:19:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
main.cpp: In function 'int main()':
main.cpp:20:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pawns.in","r",stdin);
^
main.cpp:21:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pawns.out","w",stdout);
^
main.cpp:22:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:25:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp:31:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
main.cpp:35:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 131kb | OK | 5 |
6 | 3ms | 131kb | OK | 5 |
7 | 3ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 3ms | 131kb | OK | 5 |
10 | 3ms | 131kb | OK | 5 |
11 | 4ms | 131kb | OK | 5 |
12 | 4ms | 131kb | OK | 5 |
13 | 4ms | 131kb | OK | 5 |
14 | 4ms | 131kb | OK | 5 |
15 | 3ms | 131kb | OK | 5 |
16 | 4ms | 131kb | OK | 5 |
17 | 4ms | 131kb | OK | 5 |
18 | 4ms | 131kb | OK | 5 |
19 | 4ms | 131kb | OK | 5 |
20 | 4ms | 131kb | OK | 5 |
Punctaj total | 100 |