Pagini recente » Borderou de evaluare (job #1332719) | Borderou de evaluare (job #3186307) | Borderou de evaluare (job #2639551) | Borderou de evaluare (job #2370415) | Borderou de evaluare (job #1401670)
Borderou de evaluare (job #1401670)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int, int)’:
user.cpp:34:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr=0,m=(st+dr)/2;
^
user.cpp: In function ‘int main()’:
user.cpp:42:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in","r",stdin);
^
user.cpp:43:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out","w",stdout);
^
user.cpp:44:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:48:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&str[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | OK | 10 |
2 | 12ms | 524kb | OK | 10 |
3 | 32ms | 828kb | Incorect | 0 |
4 | 52ms | 1264kb | OK | 10 |
5 | 80ms | 1500kb | OK | 10 |
6 | 96ms | 2132kb | Incorect | 0 |
7 | 112ms | 2244kb | OK | 10 |
8 | 128ms | 2360kb | OK | 10 |
9 | 140ms | 2472kb | Incorect | 0 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 70 |