Pagini recente » Borderou de evaluare (job #3185112) | Cod sursa (job #423481) | Cod sursa (job #2201851) | Cod sursa (job #2010953) | Borderou de evaluare (job #1683821)
Borderou de evaluare (job #1683821)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comisia.in","r",stdin);
^
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comisia.out","w",stdout);
^
user.cpp:34:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:35:63: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d",&b[i]),y=b[i],x=i,update(1,n,1);
^
user.cpp:36:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d",&a[i]),sum[i]=sum[i-1]+a[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | Depăşit | 504kb | Time limit exceeded. | 0 | 0 |
| 2 | Depăşit | 512kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 5580kb | Time limit exceeded. | 0 | 0 |
| 4 | Depăşit | 5440kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 5576kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 5576kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 5440kb | Time limit exceeded. | 0 | 0 |
| 8 | Depăşit | 5580kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5576kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 5576kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |