Pagini recente » Borderou de evaluare (job #2089588) | Borderou de evaluare (job #1936937) | Borderou de evaluare (job #918769) | Borderou de evaluare (job #2150272) | Borderou de evaluare (job #1204271)
Borderou de evaluare (job #1204271)
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:44:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",a[i]);
^
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 | 616kb | OK | 10 |
2 | 40ms | 1436kb | Incorect | 0 |
3 | 124ms | 3572kb | Incorect | 0 |
4 | 252ms | 6116kb | Incorect | 0 |
5 | 40ms | 1204kb | Incorect | 0 |
6 | 24ms | 848kb | Incorect | 0 |
7 | 28ms | 1316kb | OK | 10 |
8 | 0ms | 328kb | Incorect | 0 |
9 | 0ms | 316kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 40 |