Pagini recente » Borderou de evaluare (job #2544858) | Borderou de evaluare (job #1558817) | Borderou de evaluare (job #2589725) | Borderou de evaluare (job #1673071) | Borderou de evaluare (job #1620589)
Borderou de evaluare (job #1620589)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:14: warning: unused variable ‘x2’ [-Wunused-variable]
int j,i,n,x1,x2,lgmax=0,inc,ultim,sf; // x1- princ., x2- secundar
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:15:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp:21:45: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:27:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.in","r",stdin);
^
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.out","w",stdout);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 4ms | 596kb | OK | 10 |
6 | 4ms | 612kb | OK | 10 |
7 | 4ms | 604kb | OK | 10 |
8 | 4ms | 564kb | OK | 10 |
9 | 8ms | 680kb | OK | 10 |
10 | 4ms | 684kb | OK | 10 |
Punctaj total | 100 |