Pagini recente » Borderou de evaluare (job #2017676) | Borderou de evaluare (job #62508) | Borderou de evaluare (job #1149831) | Borderou de evaluare (job #544696) | Borderou de evaluare (job #2301380)
Borderou de evaluare (job #2301380)
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 | 5ms | 262kb | Incorect | 0 |
3 | 10ms | 262kb | Incorect | 0 |
4 | 12ms | 262kb | Incorect | 0 |
5 | 15ms | 262kb | Incorect | 0 |
6 | 78ms | 262kb | Incorect | 0 |
7 | 92ms | 262kb | Incorect | 0 |
8 | 93ms | 262kb | Incorect | 0 |
9 | 94ms | 262kb | Incorect | 0 |
10 | 94ms | 262kb | Incorect | 0 |
Punctaj total | 0 |