Pagini recente » Cod sursa (job #2412074) | Borderou de evaluare (job #1353721) | Cod sursa (job #94916) | Borderou de evaluare (job #164047) | Borderou de evaluare (job #1273463)
Borderou de evaluare (job #1273463)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:27: warning: unused variable ‘rest’ [-Wunused-variable]
int i=1,l=0,lp=0,nr=0,rest=0;
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:45: 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("%d",&a[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | Depăşit | 240kb | Time limit exceeded. | 0 |
✓ | 2 | Depăşit | 240kb | Time limit exceeded. | 0 |
✓ | 3 | Depăşit | 276kb | Time limit exceeded. | 0 |
✓ | 4 | Depăşit | 624kb | Time limit exceeded. | 0 |
✓ | 5 | Depăşit | 240kb | Time limit exceeded. | 0 |
✓ | 6 | Depăşit | 276kb | Time limit exceeded. | 0 |
✓ | 7 | Depăşit | 624kb | Time limit exceeded. | 0 |
✓ | 8 | Depăşit | 324kb | Time limit exceeded. | 0 |
✓ | 9 | Depăşit | 596kb | Time limit exceeded. | 0 |
✓ | 10 | Depăşit | 596kb | Time limit exceeded. | 0 |
Punctaj total | 0 |