Pagini recente » Cod sursa (job #1074195) | Cod sursa (job #1865152) | Cod sursa (job #51965) | Cod sursa (job #1922323) | Borderou de evaluare (job #1900533)
Borderou de evaluare (job #1900533)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:27:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<conex[node].size(); ++i)
^
user.cpp: In function ‘void bellmanford()’:
user.cpp:49:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:88:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.in", "r", stdin);
^
user.cpp:89:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.out", "w", stdout);
^
user.cpp:93:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:96:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &up[i]);
^
user.cpp:98:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &down[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 680kb | Corect | 10 |
2 | 0ms | 676kb | Corect | 10 |
3 | 0ms | 676kb | Corect | 10 |
4 | 0ms | 676kb | Cerintele 2 si 3 corecte | 7 |
5 | 0ms | 700kb | Corect | 10 |
6 | 4ms | 720kb | Cerintele 2 si 3 corecte | 7 |
7 | 8ms | 764kb | Corect | 10 |
8 | 16ms | 792kb | Cerintele 2 si 3 corecte | 7 |
9 | Depăşit | 3092kb | Time limit exceeded. | 0 |
10 | Depăşit | 3240kb | Time limit exceeded. | 0 |
Punctaj total | 71 |