Pagini recente » Borderou de evaluare (job #2858030) | Borderou de evaluare (job #614866) | Borderou de evaluare (job #1563041) | Borderou de evaluare (job #1612986) | Borderou de evaluare (job #1658136)
Borderou de evaluare (job #1658136)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solve()’:
user.cpp:38:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if( P[ LCA(a, b) ] == pMax)
^
user.cpp: In function ‘void preprocesare()’:
user.cpp:67:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i <= 2 * E.size() + 10; ++i)
^
user.cpp:71:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<E.size(); ++i)
^
user.cpp:74:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<E.size(); ++i)
^
user.cpp: In function ‘void Euler(int, int)’:
user.cpp:85:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[node].size(); ++i) {
^
user.cpp: In function ‘void Solve()’:
user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp: In function ‘void Read()’:
user.cpp:92:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in", "rt", stdin);
^
user.cpp:93:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out", "wt", stdout);
^
user.cpp:94:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:100:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &P[i]);
^
user.cpp:102:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp: In function ‘void Solve()’:
user.cpp:47:33: warning: ‘yMax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<pMax<<' '<<xMax<<' '<<yMax<<'\n';
^
user.cpp:47:22: warning: ‘xMax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<pMax<<' '<<xMax<<' '<<yMax<<'\n';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 608kb | Killed by signal 6(SIGABRT). | 0 |
3 | 4ms | 784kb | Killed by signal 6(SIGABRT). | 0 |
4 | 0ms | 496kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 532kb | Incorect | 0 |
6 | 12ms | 672kb | Incorect | 0 |
7 | 368ms | 12104kb | Killed by signal 6(SIGABRT). | 0 |
8 | 16ms | 1056kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 172ms | 1312kb | Incorect | 0 |
10 | 248ms | 1312kb | Incorect | 0 |
Punctaj total | 10 |