Pagini recente » Borderou de evaluare (job #2770764) | Borderou de evaluare (job #2278015) | Borderou de evaluare (job #3321333) | Borderou de evaluare (job #1814599) | Borderou de evaluare (job #1421183)
Borderou de evaluare (job #1421183)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%lld\n",v[1]*v[2]*v[3]);
^
user.cpp:61:46: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%lld\n",v[1]*v[2]*v[n]);
^
user.cpp:64:50: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%lld\n",v[n]*v[n-1]*v[n-2]);
^
user.cpp:32:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
user.cpp:44:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:46:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 124ms | 376kb | Incorect | 0 |
| Punctaj total | 0 |