Pagini recente » Borderou de evaluare (job #1415570) | Borderou de evaluare (job #1718569) | Borderou de evaluare (job #535899) | Borderou de evaluare (job #343040) | Borderou de evaluare (job #2004725)
Borderou de evaluare (job #2004725)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste(int&)’:
user.cpp:14:55: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==nmax) fread(buff,1,nmax,stdin),poz=0;
^
user.cpp:19:55: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(++poz==nmax) fread(buff,1,nmax,stdin),poz=0;
^
user.cpp: In function ‘int main()’:
user.cpp:97:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tribes.in","r",stdin);
^
user.cpp:98:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("tribes.out","w",stdout);
^
user.cpp: In function ‘void citire()’:
user.cpp:50:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:51:48: 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",&tribe[i]);
^
user.cpp:54:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&edg[i].first,&edg[i].second);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 12ms | 4828kb | OK | 10 | 30 |
✓ | 2 | 12ms | 4824kb | OK | 10 |
✓ | 3 | 12ms | 4832kb | OK | 10 |
✓ | 4 | 140ms | 6884kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✓ | 5 | 140ms | 6816kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 6 | 144ms | 6912kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 7 | 144ms | 6876kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 8 | 140ms | 6852kb | Killed by signal 11(SIGSEGV). | 0 |
✓ | 9 | 148ms | 7196kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
✓ | 10 | Depăşit | 11332kb | Time limit exceeded. | 0 |
Punctaj total | 30 |