Pagini recente » Borderou de evaluare (job #76499) | Borderou de evaluare (job #2636165) | Borderou de evaluare (job #1107883) | Borderou de evaluare (job #1459555) | Borderou de evaluare (job #2669072)
Borderou de evaluare (job #2669072)
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:45: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:64: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:82: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:120: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:121: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:124: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:126: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 | 25ms | 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 | 36ms | 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 | 36ms | 11665kb | Corect | 5 |
13 | 39ms | 11665kb | Corect | 5 | 10 |
14 | 37ms | 11665kb | Corect | 5 |
15 | 374ms | 23445kb | Gresit | 0 | 0 |
16 | 459ms | 23445kb | Gresit | 0 |
17 | 504ms | 27774kb | Gresit | 0 |
18 | 656ms | 29212kb | Gresit | 0 |
19 | 118ms | 19644kb | Gresit | 0 |
20 | 659ms | 29732kb | Gresit | 0 |
Punctaj total | 70 |