Pagini recente » Borderou de evaluare (job #2857310) | Cod sursa (job #905116) | Borderou de evaluare (job #2564135) | Borderou de evaluare (job #2025540) | Borderou de evaluare (job #1749925)
Borderou de evaluare (job #1749925)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, x, y;
^
user.cpp: In function ‘void computeRMQ()’:
user.cpp:65:15: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, p, x, y;
^
user.cpp: In function ‘void computeLCA(int, int)’:
user.cpp:86:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < v[ nod ].size(); ++i ){
^
user.cpp: In function ‘int main()’:
user.cpp:25: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:26: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:30: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:32:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:40: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 | 1476kb | OK | 10 | 10 |
2 | 0ms | 1532kb | OK | 10 | 10 |
3 | 16ms | 2916kb | OK | 10 | 10 |
4 | 156ms | 11172kb | OK | 10 | 10 |
5 | 184ms | 18184kb | OK | 10 | 10 |
6 | 280ms | 18180kb | OK | 10 | 10 |
7 | 948ms | 23492kb | OK | 10 | 10 |
8 | 1436ms | 18180kb | OK | 10 | 30 |
9 | 1860ms | 18176kb | OK | 10 |
10 | 2056ms | 18180kb | OK | 10 |
Punctaj total | 100 |