Pagini recente » Borderou de evaluare (job #2016240) | Borderou de evaluare (job #1182022) | Borderou de evaluare (job #1247881) | Borderou de evaluare (job #178673) | Borderou de evaluare (job #1217868)
Borderou de evaluare (job #1217868)
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:25: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 | 272kb | OK | 10 |
2 | 0ms | 276kb | Incorect | 0 |
3 | 56ms | 324kb | Incorect | 0 |
4 | Depăşit | 564kb | Time limit exceeded. | 0 |
5 | Depăşit | 1348kb | Time limit exceeded. | 0 |
6 | Depăşit | 2324kb | Time limit exceeded. | 0 |
7 | Depăşit | 4296kb | Time limit exceeded. | 0 |
8 | Depăşit | 4296kb | Time limit exceeded. | 0 |
9 | Depăşit | 4296kb | Time limit exceeded. | 0 |
10 | Depăşit | 4296kb | Time limit exceeded. | 0 |
Punctaj total | 10 |