Pagini recente » Borderou de evaluare (job #2528374) | Borderou de evaluare (job #1800538) | Borderou de evaluare (job #402656) | Borderou de evaluare (job #2273203) | Borderou de evaluare (job #1718006)
Borderou de evaluare (job #1718006)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(int)’:
user.cpp:17:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i<g[X].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:42:9: warning: unused variable ‘nivfin’ [-Wunused-variable]
int nivfin = niv[Y];
^
user.cpp:32:33: 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:33:35: 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:34:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&n,&m,&X,&Y);
^
user.cpp:37:31: 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 | 616kb | OK | 10 |
2 | 0ms | 624kb | Incorect | 0 |
3 | 0ms | 624kb | Incorect | 0 |
4 | 0ms | 624kb | OK | 10 |
5 | 0ms | 628kb | OK | 10 |
6 | 12ms | 784kb | Incorect | 0 |
7 | 4ms | 708kb | Incorect | 0 |
8 | 8ms | 868kb | Incorect | 0 |
9 | 12ms | 872kb | Incorect | 0 |
10 | 12ms | 936kb | Incorect | 0 |
Punctaj total | 30 |