Borderou de evaluare (job #1627105)

Utilizator andru47Stefanescu Andru andru47 Data 3 martie 2016 14:24:38
Problema Vase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:65:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("S %d\n",-v[i].inc); ^ user.cpp:66:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("S %d\n",-v[i].fin); ^ user.cpp:70:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("S %d\n",-v[i].inc); ^ user.cpp:75:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("D %d\n",v[i].fin); ^ user.cpp:76:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("D %d\n",v[i].inc); ^ user.cpp:80:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("D %d\n",v[i].fin); ^ user.cpp:81:40: warning: too many arguments for format [-Wformat-extra-args] printf("D 0\n",v[i].inc); ^ user.cpp:85:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("S %d\n",-v[i].inc); ^ user.cpp:86:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("D %d\n",v[i].fin); ^ user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.in","r",stdin); ^ user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("vase.out","w",stdout); ^ user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:22:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %c\n", &x , &c); ^ user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %c\n", &x, &c); ^ user.cpp:57:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
196ms2392kbPrimul numar corect1
20ms2392kbPrimul numar corect1
3108ms2392kbPrimul numar corect1
492ms2396kbPrimul numar corect1
50ms2388kbPrimul numar corect1
60ms2396kbPrimul numar corect1
70ms2388kbPrimul numar corect1
80ms2396kbPrimul numar corect1
920ms2396kbPrimul numar corect1
1052ms2392kbPrimul numar corect1
114ms2388kbPrimul numar corect1
1276ms2388kbPrimul numar corect1
1372ms2396kbPrimul numar corect1
140ms2392kbPrimul numar corect1
150ms2392kbPrimul numar corect1
160ms2388kbPrimul numar corect1
1796ms2392kbPrimul numar corect1
1892ms2392kbPrimul numar corect1
1972ms2396kbPrimul numar corect1
200ms2392kbPrimul numar corect1
Punctaj total20

Ceva nu functioneaza?