Pagini recente » Borderou de evaluare (job #2544767) | Borderou de evaluare (job #2688060) | Borderou de evaluare (job #2442152) | Borderou de evaluare (job #2463784) | Borderou de evaluare (job #2621832)
Borderou de evaluare (job #2621832)
Raport evaluator
Compilare:
main.cpp: In function 'long long int ciur(long long int)':
main.cpp:13:25: warning: no return statement in function returning non-void [-Wreturn-type]
phi[j]=phi[j]/i*(i-1);}}}
^
main.cpp: In function 'int main()':
main.cpp:50:37: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld %lld\n",i,i+n-(i-1)*i/2);
^
main.cpp:75:20: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld ",last);
^
main.cpp:79:20: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld ",last);}
^
main.cpp:40:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.in","r",stdin);
^
main.cpp:41:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nambartiori.out","w",stdout);
^
main.cpp:44:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
main.cpp:47:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&n,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 10ms | 524kb | OK | 10 | 10 |
2 | 9ms | 524kb | OK | 10 | 20 |
3 | 9ms | 524kb | OK | 10 |
4 | 10ms | 524kb | OK | 10 | 30 |
5 | 9ms | 524kb | OK | 10 |
6 | 9ms | 524kb | OK | 10 |
7 | 10ms | 524kb | Incorect | 0 | 0 |
8 | 97ms | 524kb | Incorect | 0 |
9 | 52ms | 655kb | Incorect | 0 |
10 | 160ms | 524kb | Time limit exceeded | 0 |
Punctaj total | 60 |