Pagini recente » Borderou de evaluare (job #1368) | Borderou de evaluare (job #393058) | Borderou de evaluare (job #1964380) | Borderou de evaluare (job #2978792) | Borderou de evaluare (job #2402075)
Borderou de evaluare (job #2402075)
Raport evaluator
Compilare:
main.cpp: In function 'bool cmp(intt, intt)':
main.cpp:12:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(x.s==y.s)
^
main.cpp: In function 'int main()':
main.cpp:23:17: warning: unused variable 'ma' [-Wunused-variable]
int n,i,a,b,ma=0,x;
^~
main.cpp:23:22: warning: unused variable 'x' [-Wunused-variable]
int n,i,a,b,ma=0,x;
^
main.cpp:21:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("gramezi.in","r",stdin);
^
main.cpp:22:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("gramezi.out","w",stdout);
^
main.cpp:24:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:27:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 8ms | 262kb | OK | 10 |
5 | 14ms | 393kb | OK | 10 |
6 | 22ms | 655kb | OK | 10 |
7 | 28ms | 655kb | OK | 10 |
8 | 34ms | 786kb | OK | 10 |
9 | 40ms | 917kb | OK | 10 |
10 | 41ms | 917kb | OK | 10 |
Punctaj total | 100 |