Pagini recente » Borderou de evaluare (job #198278) | Cod sursa (job #2241971) | Borderou de evaluare (job #2338250) | Cod sursa (job #760652) | Borderou de evaluare (job #2550023)
Borderou de evaluare (job #2550023)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:13: warning: unused variable 'nr' [-Wunused-variable]
int n,i,nr=0,j,k,a,b,ok,s,ii;
^~
main.cpp:9:22: warning: unused variable 'a' [-Wunused-variable]
int n,i,nr=0,j,k,a,b,ok,s,ii;
^
main.cpp:9:24: warning: unused variable 'b' [-Wunused-variable]
int n,i,nr=0,j,k,a,b,ok,s,ii;
^
main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("turnuri4.in","r",stdin);
^
main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("turnuri4.out","w",stdout);
^
main.cpp:12:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:14:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]),v2[i]=v[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 10 |
| 2 | 2ms | 131kb | Corect | 5 |
| 3 | 2ms | 131kb | Corect | 5 |
| 4 | 2ms | 131kb | Corect | 5 |
| 5 | 3ms | 131kb | Corect | 5 |
| 6 | 2ms | 131kb | Corect | 5 |
| 7 | 3ms | 131kb | Corect | 5 |
| 8 | 1000ms | 131kb | Time limit exceeded | 0 |
| 9 | 1003ms | 262kb | Time limit exceeded | 0 |
| 10 | 1000ms | 131kb | Time limit exceeded | 0 |
| 11 | 1000ms | 131kb | Time limit exceeded | 0 |
| 12 | 1003ms | 131kb | Time limit exceeded | 0 |
| 13 | 1003ms | 131kb | Time limit exceeded | 0 |
| 14 | 1003ms | 786kb | Time limit exceeded | 0 |
| 15 | 1001ms | 786kb | Time limit exceeded | 0 |
| 16 | 1001ms | 786kb | Time limit exceeded | 0 |
| 17 | 1001ms | 786kb | Time limit exceeded | 0 |
| 18 | 1001ms | 917kb | Time limit exceeded | 0 |
| 19 | 1001ms | 917kb | Time limit exceeded | 0 |
| Punctaj total | 40 |