Borderou de evaluare (job #1236743)

Utilizator stefan.friptuPetru Stefan Friptu stefan.friptu Data 2 octombrie 2014 15:59:51
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In member function ‘huge& huge::operator+(long long int)’: user.cpp:78:10: warning: unused variable ‘i’ [-Wunused-variable] long i; ^ user.cpp: In function ‘int main()’: user.cpp:102:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:105:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d",&d); ^ user.cpp:98:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ user.cpp:99:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ user.cpp:102:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:105:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms292kbOK10
30ms296kbOK10
40ms324kbIncorect0
58ms416kbIncorect0
628ms676kbIncorect0
74ms1212kbKilled by signal 11(SIGSEGV).0
84ms1212kbKilled by signal 11(SIGSEGV).0
98ms1212kbKilled by signal 11(SIGSEGV).0
108ms1212kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?