Pagini recente » Borderou de evaluare (job #1826303) | Cod sursa (job #2251494) | Borderou de evaluare (job #1255704) | Borderou de evaluare (job #1749924)
Borderou de evaluare (job #1749924)
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 | 1480kb | OK | 10 | 10 |
2 | 0ms | 1528kb | OK | 10 | 10 |
3 | 16ms | 2912kb | OK | 10 | 10 |
4 | 132ms | 4196kb | Incorect | 0 | 0 |
5 | 160ms | 10136kb | Incorect | 0 | 0 |
6 | 256ms | 10140kb | Incorect | 0 | 0 |
7 | 692ms | 10032kb | Incorect | 0 | 0 |
8 | 1356ms | 10140kb | Incorect | 0 | 0 |
9 | 1464ms | 3556kb | Incorect | 0 |
10 | 1628ms | 3560kb | Incorect | 0 |
Punctaj total | 30 |