Pagini recente » Borderou de evaluare (job #2677783) | Borderou de evaluare (job #2946325) | Borderou de evaluare (job #1404587) | Borderou de evaluare (job #877211) | Borderou de evaluare (job #1204272)
Borderou de evaluare (job #1204272)
Raport evaluator
Compilare:
user.cpp: In function ‘void R()’:
user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:15:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:42:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",m);
^
user.cpp: In function ‘void R()’:
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.in","r",stdin);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reguli.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 620kb | OK | 10 |
2 | 40ms | 1444kb | Incorect | 0 |
3 | 132ms | 3576kb | Incorect | 0 |
4 | 260ms | 6116kb | Incorect | 0 |
5 | 44ms | 1208kb | Incorect | 0 |
6 | 24ms | 856kb | Incorect | 0 |
7 | 28ms | 1324kb | OK | 10 |
8 | 0ms | 328kb | Incorect | 0 |
9 | 0ms | 320kb | Incorect | 0 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 30 |