Pagini recente » Cod sursa (job #2575767) | Cod sursa (job #2575775) | Borderou de evaluare (job #2541454) | Borderou de evaluare (job #1391310) | Borderou de evaluare (job #2039363)
Borderou de evaluare (job #2039363)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:16:52: 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:23:52: 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:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.in","r",stdin);
^
user.cpp:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.out","w",stdout);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
user.cpp:54:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 24ms | 20000kb | OK | 10 |
| 2 | 28ms | 20220kb | OK | 10 |
| 3 | 44ms | 20820kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 204ms | 23900kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 380ms | 27844kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 544ms | 31032kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 640ms | 32976kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 660ms | 33820kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 704ms | 34472kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 696ms | 34464kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 20 |