Borderou de evaluare (job #1517120)

Utilizator binicBinica Nicolae binic Data 3 noiembrie 2015 21:26:04
Problema Overdrive Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:65:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:74:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",ras); ^ user.cpp:60:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("overdrive.in","r",stdin); ^ user.cpp:61:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("overdrive.out","w",stdout); ^ user.cpp:62:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:65:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms240kbKilled by signal 11(SIGSEGV).0
30ms244kbKilled by signal 11(SIGSEGV).0
412ms744kbKilled by signal 11(SIGSEGV).0
512ms744kbKilled by signal 11(SIGSEGV).0
612ms752kbKilled by signal 11(SIGSEGV).0
712ms744kbKilled by signal 11(SIGSEGV).0
812ms744kbKilled by signal 11(SIGSEGV).0
912ms752kbKilled by signal 11(SIGSEGV).0
1012ms744kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?