Pagini recente » Borderou de evaluare (job #204313) | Borderou de evaluare (job #2810260) | Borderou de evaluare (job #2767258) | Borderou de evaluare (job #1173923) | Borderou de evaluare (job #1965562)
Borderou de evaluare (job #1965562)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int*)’:
user.cpp:36:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int bfs(int, int)’:
user.cpp:57:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:84:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[i].size();j++)
^
user.cpp:96:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v1[D].size();i++)
^
user.cpp:113:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v1[i].size();j++)
^
user.cpp:119:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<rez.size();i++)
^
user.cpp:71:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.in","r",stdin);
^
user.cpp:72:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.out","w",stdout);
^
user.cpp:74:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&m,&S,&D);
^
user.cpp:77:33: 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 | 0ms | 304kb | Corect! | 10 |
2 | 8ms | 1548kb | Corect! | 10 |
3 | 4ms | 624kb | Numar de muchii gresit! | 0 |
4 | 0ms | 1228kb | Numar de muchii gresit! | 0 |
5 | 4ms | 1148kb | Corect! | 10 |
6 | 4ms | 996kb | Numar de muchii gresit! | 0 |
7 | 4ms | 1328kb | Numar de muchii gresit! | 0 |
8 | 4ms | 964kb | Numar de muchii gresit! | 0 |
9 | 4ms | 1148kb | Numar de muchii gresit! | 0 |
10 | 0ms | 308kb | Numar de muchii gresit! | 0 |
Punctaj total | 30 |