Pagini recente » Borderou de evaluare (job #1586227) | Borderou de evaluare (job #1171629) | Borderou de evaluare (job #2066840) | Borderou de evaluare (job #2186414) | Borderou de evaluare (job #1638476)
Borderou de evaluare (job #1638476)
Raport evaluator
Compilare:
user.cpp: In function ‘int lca(int, int)’:
user.cpp:54:19: warning: unused variable ‘ras’ [-Wunused-variable]
int dif=b-a+1,ras;
^
user.cpp: In function ‘void citire()’:
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:64:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in","r",stdin);
^
user.cpp:65:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out","w",stdout);
^
user.cpp:72:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1648kb | OK | 10 | 10 |
2 | 0ms | 1708kb | OK | 10 | 10 |
3 | 16ms | 3092kb | OK | 10 | 10 |
4 | 160ms | 11356kb | OK | 10 | 10 |
5 | 192ms | 18360kb | OK | 10 | 10 |
6 | 288ms | 18360kb | OK | 10 | 10 |
7 | 948ms | 23676kb | OK | 10 | 10 |
8 | 1464ms | 18356kb | OK | 10 | 30 |
9 | 1820ms | 18360kb | OK | 10 |
10 | 2064ms | 18356kb | OK | 10 |
Punctaj total | 100 |