Borderou de evaluare (job #2145012)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 27 februarie 2018 00:59:17
Problema Xmoto Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<double>::size_type {aka long unsigned int}’ [-Wformat=] fprintf(fo,"%d\n", V.size()); ^ user.cpp:14:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%lf", &n, &l); ^ user.cpp:16:134: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n; i++) fscanf(fi,"%lf%lf%lf%lf%lf", &v[i].a, &v[i].b, &v[i].k, &v[i].q, &v[i].v), c1 += v[i].a, c2 += v[i].k; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1564kbLike a boss!5
20ms1564kbLike a boss!5
30ms1572kbLike a boss!5
40ms1580kbLike a boss!5
50ms1580kbLike a boss!5
60ms1592kbLike a boss!5
74ms1604kbLike a boss!5
80ms1592kbLike a boss!5
90ms1592kbLike a boss!5
100ms1604kbLike a boss!5
1112ms1752kbLike a boss!5
1224ms1924kbLike a boss!5
1332ms2044kbLike a boss!5
1432ms2040kbLike a boss!5
1548ms2340kbLike a boss!5
1668ms2584kbLike a boss!5
17100ms2924kbLike a boss!5
18132ms3356kbLike a boss!5
19112ms3124kbLike a boss!5
20144ms3516kbLike a boss!5
Punctaj total100

Ceva nu functioneaza?