Borderou de evaluare (job #1444128)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 29 mai 2015 11:12:11
Problema Street Crypto Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=] for(i = 0; i < n; ++i) scanf("%d", v + i); ^ user.cpp:14:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("streetcrypto.in", "r", stdin); ^ user.cpp:15:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("streetcrypto.out", "w", stdout); ^ user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &t); t; --t) ^ user.cpp:23:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 0; i < n; ++i) scanf("%d", v + i); ^ user.cpp:23:9: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i = 0; i < n; ++i) scanf("%d", v + i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbIncorect0
Punctaj total0

Ceva nu functioneaza?