Pagini recente » Borderou de evaluare (job #918795) | Borderou de evaluare (job #1814564) | Borderou de evaluare (job #2813064) | Borderou de evaluare (job #2628910) | Borderou de evaluare (job #1204270)
Borderou de evaluare (job #1204270)
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 | 608kb | OK | 10 |
2 | 40ms | 1436kb | Incorect | 0 |
3 | 120ms | 3568kb | Incorect | 0 |
4 | 252ms | 6112kb | Incorect | 0 |
5 | 40ms | 1196kb | Incorect | 0 |
6 | 24ms | 848kb | Incorect | 0 |
7 | 28ms | 1308kb | OK | 10 |
8 | 0ms | 316kb | Incorect | 0 |
9 | 0ms | 308kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 40 |