Pagini recente » Borderou de evaluare (job #471743) | Borderou de evaluare (job #2185104) | Borderou de evaluare (job #307895) | Borderou de evaluare (job #553109) | Borderou de evaluare (job #2637986)
Borderou de evaluare (job #2637986)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:25: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld%ld",&n,&s);
^
main.cpp:13:25: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:27:28: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld ",i+dif);
^
main.cpp:30:25: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld",i+dif+r);
^
main.cpp:10:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("noname3.in","r",stdin);
^
main.cpp:11:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("noname3.out","w",stdout);
^
main.cpp:13:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 2ms | 131kb | Incorect | 0 | 0 |
4 | 2ms | 131kb | Incorect | 0 | 0 |
5 | 2ms | 131kb | Incorect | 0 | 0 |
6 | 3ms | 131kb | Incorect | 0 | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | Incorect | 0 | 0 |
10 | 2ms | 131kb | OK | 10 | 10 |
Punctaj total | 20 |