Pagini recente » Borderou de evaluare (job #1695894) | Borderou de evaluare (job #1774454) | Borderou de evaluare (job #1610252) | Borderou de evaluare (job #3045196) | Borderou de evaluare (job #2267496)
Borderou de evaluare (job #2267496)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d %d",&v,&n);
^
main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:15:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&a);
^
main.cpp:18:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d",a);
^
main.cpp:29:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d",&a);
^
main.cpp:7:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adlic.in","r",stdin);
^
main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adlic.out","w",stdout);
^
main.cpp:9:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v,&n);
^
main.cpp:15:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
main.cpp:29:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 15ms | 278kb | OK | 10 |
7 | 216ms | 2748kb | OK | 10 |
8 | 299ms | 3801kb | OK | 10 |
9 | 335ms | 6483kb | OK | 10 |
10 | 378ms | 6766kb | OK | 10 |
Punctaj total | 100 |