Borderou de evaluare (job #1994242)

Utilizator KusikaPasa Corneliu Kusika Data 24 iunie 2017 14:11:30
Problema Harbingers Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=] rep(i,1,n) scanf("%d %d", t + i, v + i); ^ user.cpp:54:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=] user.cpp:60:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=] printf("%d", dp[1]); ^ user.cpp:61:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=] rep(i,2,n) printf(" %d", dp[i]); ^ user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harbingers.in","r",stdin); ^ user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("harbingers.out","w",stdout); ^ user.cpp:46:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:49:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &u, &v, &c); ^ user.cpp:54:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] rep(i,1,n) scanf("%d %d", t + i, v + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms6620kbIncorect0
212ms7080kbIncorect0
3124ms13776kbIncorect0
4204ms17428kbIncorect0
5204ms20376kbKilled by signal 11(SIGSEGV).0
6236ms21788kbKilled by signal 11(SIGSEGV).0
7196ms14296kbIncorect0
8336ms17968kbIncorect0
9328ms19796kbIncorect0
10304ms18648kbIncorect0
Punctaj total0

Ceva nu functioneaza?