Borderou de evaluare (job #1594236)

Utilizator mirunazMiruna Zavelca mirunaz Data 9 februarie 2016 12:16:36
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%I64d",&v[i]); ^ user.cpp:23:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%I64d ",v[i]*x); ^ user.cpp:31:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%I64d ",v[i]); ^ user.cpp:38:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%I64d ",s[j]); ^ user.cpp:51:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%I64d ",s[j]); ^ user.cpp:11:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %d%d",&p,&n,&k); ^ user.cpp:13:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%I64d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbLungimi invalide in OUTPUT0
20ms284kbCorect5
30ms276kbCorect5
40ms284kbCorect5
50ms280kbCorect5
60ms280kbCorect5
70ms284kbCorect5
80ms284kbCorect !5
90ms280kbCorect !5
100ms280kbCorect !5
110ms280kbCorect !5
120ms280kbCorect !5
130ms284kbCorect !5
140ms280kbCorect !5
150ms276kbLungimi invalide in OUTPUT0
160ms284kbCorect !5
170ms284kbLungimi invalide in OUTPUT0
180ms280kbCorect !5
190ms280kbCorect !5
200ms276kbCorect !5
Punctaj total85

Ceva nu functioneaza?