Pagini recente » Cod sursa (job #354279) | Cod sursa (job #1678861) | Cod sursa (job #1795579) | Cod sursa (job #2282562) | Borderou de evaluare (job #1761299)
Borderou de evaluare (job #1761299)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(int)’:
user.cpp:18:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[x%MOD].size();i++)
^
user.cpp:19:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(h[x%MOD][i].first=x)
^
user.cpp: In function ‘int Search_In_Hash(int)’:
user.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[val%MOD].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.in","r",stdin);
^
user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzica.out","w",stdout);
^
user.cpp:37:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&M,&N);
^
user.cpp:38:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d",&R[1],&R[2],&M1,&M2,&mod);
^
user.cpp:45:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 8076kb | OK | 10 |
| 2 | 12ms | 8104kb | OK | 10 |
| 3 | 8ms | 8104kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 8ms | 8104kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 8ms | 8104kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 8ms | 8104kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 8ms | 8100kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 8ms | 8100kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 8ms | 8108kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 12ms | 8084kb | OK | 10 |
| Punctaj total | 30 |