Pagini recente » Borderou de evaluare (job #1847399) | Borderou de evaluare (job #1365885) | Borderou de evaluare (job #3156017) | Borderou de evaluare (job #1616906) | Borderou de evaluare (job #2148283)
Borderou de evaluare (job #2148283)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:9: warning: unused variable ‘mxm’ [-Wunused-variable]
int mxm=0;
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:12:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:17:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==DIM) fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aiacubiti.in","r",stdin);
^
user.cpp:26:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aiacubiti.out","w",stdout);
^
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:30:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 82820kb | OK | 10 |
2 | 44ms | 82824kb | OK | 10 |
3 | Depăşit | 89260kb | Time limit exceeded. | 0 |
4 | Depăşit | 89260kb | Time limit exceeded. | 0 |
5 | Depăşit | 89260kb | Time limit exceeded. | 0 |
6 | Depăşit | 89260kb | Time limit exceeded. | 0 |
7 | Depăşit | 89272kb | Time limit exceeded. | 0 |
8 | Depăşit | 89276kb | Time limit exceeded. | 0 |
9 | Depăşit | 89272kb | Time limit exceeded. | 0 |
10 | 40ms | 82788kb | OK | 10 |
Punctaj total | 30 |