Pagini recente » Borderou de evaluare (job #1494089) | Borderou de evaluare (job #2353927) | Borderou de evaluare (job #1504355) | Borderou de evaluare (job #1409719) | Borderou de evaluare (job #1358712)
Borderou de evaluare (job #1358712)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:59:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(cout,"Costul minim = %d.\n",s);
^
user.cpp: In function ‘int main()’:
user.cpp:16:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(cin,"%d",&t);
^
user.cpp: In function ‘void read()’:
user.cpp:31:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(cin,"%d",&n);
^
user.cpp:34:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(cin,"%d %d",&v[i].n,&v[i].h);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 240kb | Incorect | 0 |
Punctaj total | 0 |