Pagini recente » Cod sursa (job #970885) | Cod sursa (job #979958) | Cod sursa (job #971376) | Cod sursa (job #514521) | Borderou de evaluare (job #1425572)
Borderou de evaluare (job #1425572)
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:50:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; index < tati[curr].size(); ++index) {
^
user.cpp: In function ‘int main()’:
user.cpp:62: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:63: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:67: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:69: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 | 460kb | Incorect | 0 |
| 2 | 0ms | 456kb | OK | 10 |
| 3 | 0ms | 460kb | Incorect | 0 |
| 4 | 0ms | 460kb | Incorect | 0 |
| 5 | 0ms | 456kb | Incorect | 0 |
| 6 | 12ms | 840kb | OK | 10 |
| 7 | 4ms | 628kb | OK | 10 |
| 8 | 8ms | 780kb | OK | 10 |
| 9 | 12ms | 816kb | OK | 10 |
| 10 | 12ms | 844kb | OK | 10 |
| Punctaj total | 60 |