Pagini recente » Borderou de evaluare (job #1149863) | Borderou de evaluare (job #2829891) | Borderou de evaluare (job #1301243) | Borderou de evaluare (job #759715) | Borderou de evaluare (job #1353229)
Borderou de evaluare (job #1353229)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman_ford(int)’:
user.cpp:35:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < a[k].size(); ++j)
^
user.cpp: In function ‘void bfs(int)’:
user.cpp:67:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b[k].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:121:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < b[i].size(); ++j)
^
user.cpp:83:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algoritm.in", "r", stdin);
^
user.cpp:84:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("algoritm.out", "w", stdout);
^
user.cpp:85:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cs);
^
user.cpp:88:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:92:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 14380kb | Time limit exceeded. | 0 |
Punctaj total | 0 |