Pagini recente » Borderou de evaluare (job #2266651) | Borderou de evaluare (job #2614655) | Borderou de evaluare (job #2475582) | Cod sursa (job #809558) | Borderou de evaluare (job #1425585)
Borderou de evaluare (job #1425585)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs()’:
user.cpp:18:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graf[curr].size(); ++i) {
^
user.cpp: In function ‘void solve()’:
user.cpp:49:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(currIndex[curr] < tati[curr].size()) {
^
user.cpp: In function ‘int main()’:
user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in", "r", stdin);
^
user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.out", "w", stdout);
^
user.cpp:66:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &first, &last);
^
user.cpp:68:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | Incorect | 0 |
| 2 | 0ms | 456kb | OK | 10 |
| 3 | 0ms | 460kb | Incorect | 0 |
| 4 | 0ms | 464kb | Incorect | 0 |
| 5 | 0ms | 464kb | Incorect | 0 |
| 6 | 12ms | 840kb | OK | 10 |
| 7 | 4ms | 620kb | OK | 10 |
| 8 | 8ms | 772kb | OK | 10 |
| 9 | 12ms | 820kb | OK | 10 |
| 10 | 12ms | 844kb | OK | 10 |
| Punctaj total | 60 |