Pagini recente » Borderou de evaluare (job #792635) | Cod sursa (job #201481) | Borderou de evaluare (job #2594120) | gard5 | Borderou de evaluare (job #1919380)
Borderou de evaluare (job #1919380)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int f(int, int)’:
user.cpp:9:15: warning: unused variable ‘pas’ [-Wunused-variable]
long long pas,z,rez;
^
user.cpp:9:19: warning: unused variable ‘z’ [-Wunused-variable]
long long pas,z,rez;
^
user.cpp: In function ‘int main()’:
user.cpp:21:19: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,pas,z,j;
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.out","w",stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld",&n,&k);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Incorect | 0 |
| 2 | 0ms | 288kb | Incorect | 0 |
| 3 | 0ms | 288kb | Incorect | 0 |
| 4 | 4ms | 320kb | OK | 10 |
| 5 | 8ms | 364kb | Incorect | 0 |
| 6 | 16ms | 412kb | Incorect | 0 |
| 7 | 24ms | 436kb | Incorect | 0 |
| 8 | 28ms | 480kb | Incorect | 0 |
| 9 | 28ms | 476kb | Incorect | 0 |
| 10 | 28ms | 484kb | Incorect | 0 |
| Punctaj total | 10 |