Pagini recente » Borderou de evaluare (job #1064320) | Borderou de evaluare (job #455919) | Borderou de evaluare (job #871936) | Borderou de evaluare (job #572415) | Borderou de evaluare (job #2089602)
Borderou de evaluare (job #2089602)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:30: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%lld",&v[i]);
^
user.cpp:7:30: warning: unused variable ‘copi’ [-Wunused-variable]
long long n,i,s=0,smax=0,copi,copi2,prod=0,prod1=0,j;
^
user.cpp:7:35: warning: unused variable ‘copi2’ [-Wunused-variable]
long long n,i,s=0,smax=0,copi,copi2,prod=0,prod1=0,j;
^
user.cpp:7:41: warning: unused variable ‘prod’ [-Wunused-variable]
long long n,i,s=0,smax=0,copi,copi2,prod=0,prod1=0,j;
^
user.cpp:7:48: warning: unused variable ‘prod1’ [-Wunused-variable]
long long n,i,s=0,smax=0,copi,copi2,prod=0,prod1=0,j;
^
user.cpp:10:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&n);
^
user.cpp:13:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 264kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 0ms | 264kb | OK | 10 |
| 7 | 0ms | 272kb | OK | 10 |
| 8 | 4ms | 268kb | OK | 10 |
| 9 | 4ms | 272kb | OK | 10 |
| 10 | 0ms | 264kb | OK | 10 |
| Punctaj total | 100 |