Pagini recente » Borderou de evaluare (job #1609652) | Borderou de evaluare (job #2204752) | Borderou de evaluare (job #1176427) | Borderou de evaluare (job #2496524) | Borderou de evaluare (job #2301387)
Borderou de evaluare (job #2301387)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&n);
^
main.cpp:10:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&x,&y);
^
main.cpp:10:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:29:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&x,&y);
^
main.cpp:29:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:7:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("agitatie.in","r",stdin);
^
main.cpp:8:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("agitatie.out","w",stdout);
^
main.cpp:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:10:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
main.cpp:29:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | Incorect | 0 |
2 | 9ms | 262kb | Incorect | 0 |
3 | 18ms | 262kb | Incorect | 0 |
4 | 21ms | 262kb | Incorect | 0 |
5 | 27ms | 262kb | Incorect | 0 |
6 | 154ms | 262kb | Incorect | 0 |
7 | 166ms | 262kb | Incorect | 0 |
8 | 184ms | 262kb | Incorect | 0 |
9 | 160ms | 393kb | Incorect | 0 |
10 | 184ms | 262kb | Incorect | 0 |
Punctaj total | 0 |