Pagini recente » Borderou de evaluare (job #2860758) | Borderou de evaluare (job #1057402) | Borderou de evaluare (job #131139) | Borderou de evaluare (job #865775) | Borderou de evaluare (job #1177820)
Borderou de evaluare (job #1177820)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld",&n,&gmax);
^
user.cpp:14:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:18:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld",&val,&gr,&tp);
^
user.cpp:18:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:18:41: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘void rezolvare()’:
user.cpp:64:24: warning: use of ‘ll’ length modifier with ‘f’ type character [-Wformat=]
printf("%.8llf",rez);
^
user.cpp: In function ‘int main()’:
user.cpp:71:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 272kb | Raspuns gresit | 0 |
Punctaj total | 0 |