Pagini recente » Borderou de evaluare (job #1220364) | Borderou de evaluare (job #381419) | Borderou de evaluare (job #2421829) | Borderou de evaluare (job #870763) | Borderou de evaluare (job #1669262)
Borderou de evaluare (job #1669262)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%lld\n%d\n",sol1,sol2);
^
user.cpp:26:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (n%2==0) printf("%d ",k);
^
user.cpp:27:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d ",k+1);
^
user.cpp:32:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d ",k+i+1,i);
^
user.cpp:32:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:34:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",k+1);
^
user.cpp:40:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d ",k+i+1,i);
^
user.cpp:40:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("urat.in","r",stdin);
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("urat.out","w",stdout);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n); k=n/2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Valoare incorecta cerinta 3! | 8 |
2 | 0ms | 296kb | Valoare incorecta cerinta 3! | 8 |
3 | 0ms | 292kb | Valoare corecta cerinta 1! | 2 |
4 | 4ms | 296kb | Valoare corecta cerinta 1! | 2 |
5 | 8ms | 292kb | Valoare corecta cerinta 1! | 2 |
6 | 16ms | 292kb | Valoare corecta cerinta 1! | 2 |
7 | 36ms | 284kb | Valoare corecta cerinta 1! | 2 |
8 | 56ms | 288kb | Valoare corecta cerinta 1! | 2 |
9 | 72ms | 288kb | Valoare corecta cerinta 1! | 2 |
10 | 92ms | 292kb | Valoare corecta cerinta 1! | 2 |
Punctaj total | 32 |