Pagini recente » Borderou de evaluare (job #18399) | Borderou de evaluare (job #3125160) | Borderou de evaluare (job #153280) | Borderou de evaluare (job #2483466) | Borderou de evaluare (job #2067308)
Borderou de evaluare (job #2067308)
Raport evaluator
Compilare:
user.cpp: In function ‘int read(int*)’:
user.cpp:26:35: warning: no return statement in function returning non-void [-Wreturn-type]
fread(buffer+1,1,sz,stdin),poz=1;}}
^
user.cpp:20:33: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer+1,1,sz,stdin),poz=1;}
^
user.cpp:26:33: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer+1,1,sz,stdin),poz=1;}}
^
user.cpp: In function ‘int main()’:
user.cpp:28:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.in","r",stdin);
^
user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori2.out","w",stdout);
^
user.cpp:32:27: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer+1,1,sz,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 320kb | Time limit exceeded. | 0 |
Punctaj total | 0 |