Borderou de evaluare (job #1653410)

Utilizator iulianrotaruRotaru Gheorghe-Iulian iulianrotaru Data 15 martie 2016 23:03:53
Problema Nucleul Valoros Season 2 Status done
Runda Arhiva ACM Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&a[i]); ^ user.cpp:9:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nucleulvaloros2.in","r",stdin); ^ user.cpp:10:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nucleulvaloros2.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:14: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 Punctaj/grupa
10ms864kbOK10100
220ms7780kbOK10
340ms13164kbOK10
4140ms34744kbOK10
5300ms63124kbOK10
6252ms63124kbOK10
7256ms63120kbOK10
8252ms63120kbOK10
9300ms63124kbOK10
10300ms63120kbOK10
Punctaj total100

Ceva nu functioneaza?