Pagini recente » Borderou de evaluare (job #105734) | Borderou de evaluare (job #1440489) | Borderou de evaluare (job #2391752) | Borderou de evaluare (job #1094138) | Borderou de evaluare (job #1217845)
Borderou de evaluare (job #1217845)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:17:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:18:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d%d",&Q,&X,&Y,&Z);
^
user.cpp:18:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:18:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:18:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:23:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",suma);
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:8:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("beri.in","r",stdin);
^
user.cpp:9:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("beri.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&Q,&X,&Y,&Z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 324kb | Incorect | 0 |
4 | 0ms | 528kb | Incorect | 0 |
5 | 8ms | 1156kb | Incorect | 0 |
6 | 20ms | 2200kb | Incorect | 0 |
7 | 32ms | 4300kb | Incorect | 0 |
8 | 36ms | 4292kb | Incorect | 0 |
9 | 40ms | 4296kb | Incorect | 0 |
10 | 40ms | 4296kb | Incorect | 0 |
Punctaj total | 0 |