Pagini recente » Borderou de evaluare (job #1982444) | Borderou de evaluare (job #2621473) | Borderou de evaluare (job #2953579) | Borderou de evaluare (job #2218397) | Borderou de evaluare (job #2438449)
Borderou de evaluare (job #2438449)
Raport evaluator
Compilare:
main.cpp: In function 'long long int solve(unsigned int)':
main.cpp:11:20: warning: unused variable 'dif' [-Wunused-variable]
long long ans=0,dif=0;
^~~
main.cpp: In function 'int main()':
main.cpp:30:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in","r",stdin);
^
main.cpp:31:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out","w",stdout);
^
main.cpp:32:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&l,&u);
^
main.cpp:33:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%u",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 16ms | 131kb | OK | 10 |
3 | 25ms | 262kb | OK | 10 |
4 | 100ms | 655kb | OK | 10 |
5 | 81ms | 917kb | OK | 10 |
6 | 346ms | 1572kb | OK | 10 |
7 | 813ms | 3276kb | OK | 10 |
8 | 1241ms | 5111kb | OK | 10 |
9 | 1800ms | 14229kb | Time limit exceeded | 0 |
10 | 1800ms | 18731kb | Time limit exceeded | 0 |
Punctaj total | 80 |