Pagini recente » Borderou de evaluare (job #2610982) | Borderou de evaluare (job #2399193) | Borderou de evaluare (job #3228131) | Borderou de evaluare (job #2721581) | Borderou de evaluare (job #1903964)
Borderou de evaluare (job #1903964)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:17:9: warning: unused variable ‘bile_negre’ [-Wunused-variable]
int bile_negre = N - M;
^
user.cpp: In function ‘bool color(int, int)’:
user.cpp:46:15: warning: statement has no effect [-Wunused-value]
else false;
^
user.cpp: In function ‘void bfs()’:
user.cpp:85:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[node].size(); i ++){
^
user.cpp:79:9: warning: unused variable ‘sameColor’ [-Wunused-variable]
int sameColor;
^
user.cpp: In function ‘void read()’:
user.cpp:16:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d%d", &N, &M, &K);
^
user.cpp:19:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &bileAlbe[i]);
^
user.cpp:26:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &matCosturi[i][j]);
^
user.cpp: In function ‘bool color(int, int)’:
user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | Incorect | 0 |
2 | 0ms | 456kb | Incorect | 0 |
3 | 0ms | 464kb | Incorect | 0 |
4 | 0ms | 484kb | Incorect | 0 |
5 | 0ms | 484kb | Incorect | 0 |
6 | 0ms | 484kb | Incorect | 0 |
7 | 0ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 480kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |