Pagini recente » Borderou de evaluare (job #2415775) | Cod sursa (job #2875167) | Borderou de evaluare (job #496892) | Borderou de evaluare (job #1785094) | Borderou de evaluare (job #1781470)
Borderou de evaluare (job #1781470)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:20:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v1[i]);
^
user.cpp:14:21: warning: unused variable ‘a’ [-Wunused-variable]
long long sol=0,a;
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.in","r",stdin);
^
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v1[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 412kb | OK | 10 |
| 2 | 4ms | 788kb | OK | 10 |
| 3 | 12ms | 1292kb | OK | 10 |
| 4 | 8ms | 1284kb | OK | 10 |
| 5 | 0ms | 876kb | OK | 10 |
| 6 | 144ms | 8360kb | OK | 10 |
| 7 | 244ms | 16440kb | OK | 10 |
| 8 | 236ms | 16444kb | OK | 10 |
| 9 | 400ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 548ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 80 |