Borderou de evaluare (job #1244943)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:18:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < adj[source].size(); i++){
^
user.cpp: In function ‘void dfsRev(int)’:
user.cpp:28:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < adjRev[source].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:66:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < answer.size(); i++){
^
user.cpp:67:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < answer[i].size(); j++){
^
user.cpp:39:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ctc.in", "r", stdin);
^
user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ctc.out", "w", stdout);
^
user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:43:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &from, &to);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 2632kb | Corect | 10 | 30 |
2 | 4ms | 2632kb | Corect | 10 |
3 | 4ms | 2632kb | Corect | 10 |
4 | 4ms | 2632kb | Corect | 10 | 30 |
5 | 8ms | 2896kb | Corect | 10 |
6 | 20ms | 3340kb | Corect | 10 |
7 | 36ms | 3700kb | Corect | 10 | 30 |
8 | 88ms | 5036kb | Corect | 10 |
9 | 176ms | 7328kb | Corect | 10 |
10 | 208ms | 9692kb | Corect | 10 | 10 |
Punctaj total | 100 |