Pagini recente » Borderou de evaluare (job #1933771) | Borderou de evaluare (job #445324) | Borderou de evaluare (job #1770599) | Borderou de evaluare (job #1011415) | Borderou de evaluare (job #1313619)
Borderou de evaluare (job #1313619)
Raport evaluator
Compilare:
user.cpp:5:15: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
#define NMAX 1<<20+2
^
user.cpp:8:16: note: in expansion of macro ‘NMAX’
unsigned int v[NMAX];
^
user.cpp: In function ‘int main()’:
user.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);
^
user.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);
^
user.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);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 4ms | 284kb | OK | 10 |
3 | 24ms | 360kb | OK | 10 |
4 | 112ms | 680kb | OK | 10 |
5 | 80ms | 964kb | OK | 10 |
6 | 528ms | 1544kb | OK | 10 |
7 | 1076ms | 3180kb | OK | 10 |
8 | 1652ms | 4420kb | OK | 10 |
9 | Depăşit | 11956kb | Time limit exceeded. | 0 |
10 | Depăşit | 14288kb | Time limit exceeded. | 0 |
Punctaj total | 80 |