Pagini recente » Borderou de evaluare (job #346070) | Borderou de evaluare (job #2659609) | Borderou de evaluare (job #1859296) | Borderou de evaluare (job #2138636) | Borderou de evaluare (job #1401671)
Borderou de evaluare (job #1401671)
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 | 312kb | OK | 10 |
2 | 12ms | 524kb | OK | 10 |
3 | 28ms | 828kb | OK | 10 |
4 | 52ms | 1260kb | OK | 10 |
5 | 76ms | 1488kb | OK | 10 |
6 | 96ms | 2124kb | OK | 10 |
7 | 108ms | 2236kb | OK | 10 |
8 | 124ms | 2356kb | OK | 10 |
9 | 140ms | 2472kb | OK | 10 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 100 |