Pagini recente » Borderou de evaluare (job #2139912) | Borderou de evaluare (job #2442826) | Borderou de evaluare (job #2194076) | Borderou de evaluare (job #958985) | Borderou de evaluare (job #1525925)
Borderou de evaluare (job #1525925)
Raport evaluator
Compilare:
user.cpp: In function ‘int cautamin(int, int, int)’:
user.cpp:8:9: warning: unused variable ‘m’ [-Wunused-variable]
int m,sol=-1;
^
user.cpp: In function ‘int cautamax(int, int, int)’:
user.cpp:18:9: warning: unused variable ‘m’ [-Wunused-variable]
int m,sol=-1;
^
user.cpp: In function ‘int main()’:
user.cpp:27:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teams.in","r",stdin);
^
user.cpp:28:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teams.out","w",stdout);
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&a,&b);
^
user.cpp:30:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d",&t[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 4ms | 312kb | OK | 10 |
8 | 12ms | 352kb | OK | 10 |
9 | 24ms | 456kb | OK | 10 |
10 | Depăşit | 648kb | Time limit exceeded. | 0 |
Punctaj total | 90 |