Borderou de evaluare (job #2005483)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 27 iulie 2017 11:20:18
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:43:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘short unsigned int *’ [-Wformat=] scanf("%d %d\n", &u[i], &v[i]); ^ user.c:43:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short unsigned int *’ [-Wformat=] user.c:45:9: warning: unused variable ‘m1’ [-Wunused-variable] int m1 = m, w; ^ user.c:30:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in", "r", stdin); ^ user.c:31:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out", "w", stdout); ^ user.c:34:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.c:37:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i-1]); ^ user.c:43:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &u[i], &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms316kbIncorect0
380msDepăşitMemory limit exceeded.0
484msDepăşitMemory limit exceeded.0
540msDepăşitMemory limit exceeded.0
640msDepăşitMemory limit exceeded.0
744msDepăşitMemory limit exceeded.0
840msDepăşitMemory limit exceeded.0
944msDepăşitMemory limit exceeded.0
1044msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?