Pagini recente » Borderou de evaluare (job #2151701) | Borderou de evaluare (job #445997) | Borderou de evaluare (job #363587) | Borderou de evaluare (job #2161745) | Borderou de evaluare (job #2669078)
Borderou de evaluare (job #2669078)
Raport evaluator
Compilare:
main.cpp: In function 'void stronglyConnected(int)':
main.cpp:34:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arcs[current_node].size(); ++i)
~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void stronglyConnectedBackArcs(int)':
main.cpp:44:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<back_arcs[current_node].size(); ++i)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void computeComponents()':
main.cpp:63:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<stronglyConnectedOrder.size(); ++j)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void calculateComponentsDegs()':
main.cpp:81:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<arcs[i].size(); ++j)
~^~~~~~~~~~~~~~~
main.cpp: In function 'void componentsBFS()':
main.cpp:92:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<allComponents.size(); ++i)
~^~~~~~~~~~~~~~~~~~~~~
main.cpp:99:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<allComponents[current_component].size(); ++i) {
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:106:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<arcs[current_variable].size(); ++j) {
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:121:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("2sat.in", "r", stdin);
^
main.cpp:122:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("2sat.out", "w", stdout);
^
main.cpp:125:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:127:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 22ms | 11272kb | Corect | 5 | 10 |
2 | 26ms | 11272kb | Corect | 5 |
3 | 26ms | 11272kb | Corect | 5 | 10 |
4 | 26ms | 11272kb | Corect | 5 |
5 | 28ms | 11534kb | Corect | 5 | 10 |
6 | 32ms | 11665kb | Corect | 5 |
7 | 37ms | 11665kb | Corect | 5 | 10 |
8 | 33ms | 11534kb | Corect | 5 |
9 | 31ms | 11534kb | Corect | 5 | 10 |
10 | 32ms | 11534kb | Corect | 5 |
11 | 32ms | 11534kb | Corect | 5 | 10 |
12 | 37ms | 11665kb | Corect | 5 |
13 | 39ms | 11665kb | Corect | 5 | 10 |
14 | 38ms | 11665kb | Corect | 5 |
15 | 401ms | 23707kb | Corect | 5 | 0 |
16 | 510ms | 24494kb | Corect | 5 |
17 | 588ms | 30134kb | Corect | 5 |
18 | 851ms | 31703kb | Time limit exceeded | 0 |
19 | 165ms | 25669kb | Corect | 5 |
20 | 803ms | 33796kb | Corect | 5 |
Punctaj total | 70 |