Pagini recente » Cod sursa (job #746348) | Cod sursa (job #3250262) | Cod sursa (job #2289809) | Cod sursa (job #2900271) | Borderou de evaluare (job #2731169)
Borderou de evaluare (job #2731169)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:9: warning: unused variable 'x' [-Wunused-variable]
int n,i,x,ans=0;
^
main.cpp:21:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("purification.in","r",stdin);
^
main.cpp:22:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("purification.out","w",stdout);
^
main.cpp:24:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:26:75: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]),t[i]=i,cnt[i]=1,from[i]=i,s.insert({i,v[i],1}),ans+=v[i];
^
main.cpp:28:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nex[i]),nex[i]++;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 5 | 10 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 | 10 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 | 10 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 | 10 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 4ms | 262kb | OK | 5 | 20 |
| 10 | 4ms | 262kb | OK | 5 |
| 11 | 4ms | 262kb | OK | 5 |
| 12 | 4ms | 262kb | OK | 5 |
| 13 | 5ms | 262kb | OK | 5 | 20 |
| 14 | 7ms | 262kb | OK | 5 |
| 15 | 7ms | 262kb | OK | 5 |
| 16 | 7ms | 262kb | OK | 5 |
| 17 | 5ms | 262kb | OK | 5 | 20 |
| 18 | 8ms | 262kb | OK | 5 |
| 19 | 7ms | 262kb | OK | 5 |
| 20 | 7ms | 262kb | OK | 5 |
| Punctaj total | 100 |