Pagini recente » Borderou de evaluare (job #1845468) | Borderou de evaluare (job #2608832) | Borderou de evaluare (job #595993) | Borderou de evaluare (job #699810) | Borderou de evaluare (job #1669253)
Borderou de evaluare (job #1669253)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23: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:24: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:25: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:30: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:30:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:32:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",k+1);
^
user.cpp:38: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:38:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:17: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:18: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:19: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 | 292kb | Valoare incorecta cerinta 3! | 8 |
3 | 0ms | 288kb | Valoare corecta cerinta 1! | 2 |
4 | 4ms | 292kb | Valoare corecta cerinta 1! | 2 |
5 | 8ms | 284kb | Valoare corecta cerinta 1! | 2 |
6 | 16ms | 292kb | Valoare corecta cerinta 1! | 2 |
7 | 36ms | 292kb | Valoare corecta cerinta 1! | 2 |
8 | 56ms | 296kb | Valoare corecta cerinta 1! | 2 |
9 | 72ms | 292kb | Valoare corecta cerinta 1! | 2 |
10 | 92ms | 292kb | Valoare corecta cerinta 1! | 2 |
Punctaj total | 32 |