Pagini recente » Borderou de evaluare (job #2576455) | Borderou de evaluare (job #2376724) | Borderou de evaluare (job #824358) | Borderou de evaluare (job #1108353) | Borderou de evaluare (job #1358716)
Borderou de evaluare (job #1358716)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:59:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(cout,"Consumul 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 | 248kb | Incorect | 0 |
| Punctaj total | 0 |